parrot-stream / docker-hive Goto Github PK
View Code? Open in Web Editor NEWScripts to build a Docker image running Apache Hive.
Scripts to build a Docker image running Apache Hive.
I pulled down this repo and ran docker-compose -p docker up
to spin up all of the services. They all seem to be working individually. However, when I issue a sql command to the Hive server through a JDBC driver it just hangs. The Hive server logs show the following error connecting to ZooKeeper:
2016-12-12T20:48:18,844 INFO [HiveServer2-Background-Pool: Thread-42-SendThread(localhost:2181)]: zookeeper.ClientCnxn (:()) - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2016-12-12T20:48:18,844 WARN [HiveServer2-Background-Pool: Thread-42-SendThread(localhost:2181)]: zookeeper.ClientCnxn (:()) - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
Any suggestions?
Thanks
Hi,
I am running with docker-compose with no configuration changes in Kitematic and I am able to execute cmds such as SHOW SCHEMAS (via presto) but upon table creation I get the following exception:
Query xx__xx failed: java.net.UnknownHostException: hadoop
I don't actually see this hostname declared in the Hive config and I am not sure how docker-compose would setup local DNS/hostname lookup entries.
Thanks!
Mike
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.