tagomoris / shib

WebUI for query engines: Hive and Presto
200 stars 59 forks source link

multiple db select box does not appear #4

Closed wyukawa closed 10 years ago

wyukawa commented 10 years ago

Hi.

I try to use shib(version commit cb59598e9b49f902de306f8bdb6c0a110a4c658e).

I click 'show table schemas' link at top page, but multiple db select box does not appear.

config.js

  executer: {
    name: 'hiveserver', // or 'hiveserver2' (not implemented) or 'huahinmanager' (not implemented)
    host: 'myhost',
    port: 10000,
    support_database: true,
    default_database: 'default'
  },

Because app.js refers the default_database variable of client object, I doubt of _default_database variable(not default_database) of lib/shib/client.js.

By the way, I use the old shib with KT(version commit e50c5f31f581aafca308c4c560e5bf98767246fb), multiple db select box appears in this version.

Thank you.

tagomoris commented 10 years ago

I'm in progress for this issue, but with hiveserver2, use database statement makes error. Now I'm investigating about this. Please wait for a moment. (Alternative is "engine 'hiveserver2' doesn't support support_database"...)

wyukawa commented 10 years ago

OK, thank you for reply.

There is no need to hurry.

It is a three day weekend in Japan.

Have a beer!

tagomoris commented 10 years ago

Fixed at commit 874ace0840043a13a125cc97c74a844f39b0b925. Database support on hiveserver2 turned off currently (This will be fixed anytime).