Member since
10-26-2015
3
Posts
1
Kudos Received
0
Solutions
10-30-2015
08:05 AM
Hi Sean, it works! Thanks a lot!
... View more
10-26-2015
01:52 PM
1 Kudo
I have the original_access_logs in the correct directory: [cloudera@quickstart ~]$ hadoop fs -ls /user/hive/warehouse
Found 7 items
drwxr-xr-x - cloudera supergroup 0 2015-10-26 10:12 /user/hive/warehouse/categories
drwxr-xr-x - cloudera supergroup 0 2015-10-26 10:12 /user/hive/warehouse/customers
drwxr-xr-x - cloudera supergroup 0 2015-10-26 10:13 /user/hive/warehouse/departments
drwxr-xr-x - cloudera supergroup 0 2015-10-26 10:13 /user/hive/warehouse/order_items
drwxr-xr-x - cloudera supergroup 0 2015-10-26 10:13 /user/hive/warehouse/orders
drwxr-xr-x - hdfs supergroup 0 2015-10-26 12:36 /user/hive/warehouse/original_access_logs
drwxr-xr-x - cloudera supergroup 0 2015-10-26 10:14 /user/hive/warehouse/products But if I try the code: [cloudera@quickstart ~]$ beeline -u jdbc:hive2://quickstart:10000/default -n admin -d org.apache.hive.jdbc.HiveDriver I get the error: Connecting to jdbc:hive2://quickstart:10000/default
Error: Could not open client transport with JDBC Uri: jdbc:hive2://quickstart:10000/default: java.net.ConnectException: Connection refused (state=08S01,code=0)
Beeline version 1.1.0-cdh5.4.2 by Apache Hive
0: jdbc:hive2://quickstart:10000/default (closed)> Could someone please help me?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
-
HDFS