at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1041) at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3719)
at org.apache.hadoo
我在2节点hadoop上运行hive和hbase。我使用hadoop-0.20.205.0、hive-0.9.0、hbase-0.92.0和zookeeper-3.4.2。hive和hbase分别工作得很好。然后我按照这本手册集成了hive和hbase。hive启动时没有错误,我创建了示例表STORED BY 'org.apache.hadoop.hive.
$Proxy8.createTable(Unknown Source)
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:(KeeperException.java:99) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) atorg.apache.zookeeper.ZooKeeper.exists(Zoo
我正在使用javax.sql.DataSource和将动物园管理员服务发现(从Ambari获得)字符串传递给hive来创建到Hive的jdbc连接。ZookeeperHive URL : jdbc:hive2://localhost:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2: Unable to read HiveServer2 uri from ZooK
=binary;hive.server2.thrift.sasl.qop=auth;hive.server2.thrift.bind.host=sandbox.hortonworks.com;hive.server2=NONE;hive.server2.transport.mode=binary;hive.server2.thrift.sasl.qop=auth;hive.server2.thrift.bind.hostzookeeper.ClientCnxn: Eve
configs from ZooKeeper
Exception in thread "main" java.sql.SQLException: Could not open client transportfor any of the Server URI's in ZooKeeper: Failed to open new session: java.lang.IllegalArgumentException: 'org.apache.hive', name: 'hiv
但是,当使用连接字符串"jdbc:hive2://localhost:22010/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2INFO: Connecting to : jdbc:hive2://localhost:22010/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespaceHiveServer2