You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Cloudera CDH 5.3.3 with Hive 0.13.1 (/opt/cloudera/parcels/CDH-5.3.3-1.cdh5.3.3.p0.5/jars/hive-common-0.13.1-cdh5.3.3.jar) on a 4-node cluster VM environment.
I followed the Aggregating CSV Data tutorial (https://github.com/Esri/gis-tools-for-hadoop/wiki/Aggregating-CSV-Data-%28Spatial-Binning%29) and everything appeared to be working. However, after step 11, I ran a simple SELECT query and it returned nothing even though the files existed in the Hive folder. As a result, when I followed step 12 to get the result taxi_agg table to ArcMap, the json file is empty with no data.
Here are some screenshots:
Table taxi_demo location:
Files in the HDFS folder for Hive taxi_demo table:
Data in the taxi_demo table Hive folder:
Hive query returns nothing:
Please help.
Thanks,
Tom
The text was updated successfully, but these errors were encountered:
@smambrose, thank you for your quick response. I've followed the solution at the bottom of #25 as you referenced and it didn't work either. Very much everything worked and I could see the JSON-format result bins in the output file in the Hive folder, but when the I ran the Hive query or the ArcMap Copy from HDFS tool, I just got an empty file.
hive> select * from agg_samp limit 1; OK Time taken: 0.048 seconds
I don't know if this is a Cloudera CDH 5.3.3 issue or not, but it worked fine when I tried the solution on the latest Hortonworks HDP 2.2.4 Sandbox with Hive 0.14. Is there anything else that I can try or may have overlooked?
We are looking to implement your great work on the ESRI for Hadoop Framework on my company Cloudera production cluster, any help would be greatly appreciated.
I have not been able to reproduce this yet, and have been trying using a Cloudera 5.3.0 VM. What is the result you get when you type select * from taxi_demo limit 1;
I am using Cloudera CDH 5.3.3 with Hive 0.13.1 (/opt/cloudera/parcels/CDH-5.3.3-1.cdh5.3.3.p0.5/jars/hive-common-0.13.1-cdh5.3.3.jar) on a 4-node cluster VM environment.
I followed the Aggregating CSV Data tutorial (https://github.com/Esri/gis-tools-for-hadoop/wiki/Aggregating-CSV-Data-%28Spatial-Binning%29) and everything appeared to be working. However, after step 11, I ran a simple SELECT query and it returned nothing even though the files existed in the Hive folder. As a result, when I followed step 12 to get the result taxi_agg table to ArcMap, the json file is empty with no data.
Here are some screenshots:
Please help.
Thanks,
Tom
The text was updated successfully, but these errors were encountered: