-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial not working #25
Comments
Hi @TikoS, You will always get the warning:
when you run:
It's ok that the warning occurs, you just need to wait a bit longer to see the results. You'll know the process is done when you can see the It may be a bit easier to tell the the process is continuing to run if on the first command from the sample, you use Thank you for the correction to the Feature Class to HDFS - the tutorial has been updated. |
Hi @smambrose, I didn´t know that, and I didn´t see hive> ... I will try it again withou using hive -S command. Anyway I was trying Aggregation sample (taxi demo) and when I tried aggregation (step 9) it was for looooooooooooooong time and the process bar (map and %) was like: 0%, after 30 minutes 0%, after another 30 minutes 89% and 3 times the same (only Map), in Reduce was 0% ... This is okey? because I hade to turn off my lapton I was using for it so I don´t know .. but then I tried it again, skip step 9 and use 10 and 11 and get this:
thanks (sorry if this is so easy for you guys, I am new ... BTW: can I use netCDF, HDF, GRIB formats in these tools? or it is just for csv, json ... ?) |
Hi, 16 node cluster 17 second, nice ... I changed that values and get error, nothing was returned ... That vector/raster thing ... 2015-05-04 20:44 GMT+02:00 Sarah Ambrose notifications@github.com:
bc. Tomáš DROTTNER Katedra geoinformatiky * | *Department of Geoinformatics |
Were/Are you able to confirm the previous steps 1-8 worked (jars were added without errors, you were able to describe the taxi_demo table, the taxi data loaded? What error did you recieve when running Step 9? You are correct that those formats can be read by hadoop (and many are splitable). We aren't currently working on a raster solution for gis-tools-for-hadoop, although we have not ruled it out. |
@smambrose I'm seeing the same issue as @TikoS . When i run the final 'Select' I see the same warnings that you mentioned earlier, but then I see the hive> prompt and no results. |
Steps 1-8 worked well ;) I don´t know if step 9 had some error message yet because I had to turn it off ... Hadoop HDF and stuff ... That would be great to implement that to these tools ... |
@jmirmelstein and @TikoS are you both using the Hortonworks sandbox when you see the original error without results for the sample? What version are you on?
I'm not currently able to reproduce it. Are there any other details if you start hive |
AI am using version 2.1 since in tutorial is written that you had some issues with 2.2. version, I am using everything same with tutorials just for case... |
So...I tried it (that earthquake aggregation sample not taxi) and it passed, I get hive at the end, but not that results (name and count of earthquake) and I am attaching here whole console from beginning to the end:
|
thanks @TikoS what do you get when you type |
I get this
its nice to know that it is OK ... but iI want to see some results :D |
hi @TikoS, Looks like the tables are empty. You can try doing when you exit hive, make sure you are in the esri-git directory. You can then re-run the sample (without using the |
Hi @smambrose , I tried it, and I have same error ... I have only OK result |
@smambrose - this is what i see: hive> drop table counties; |
@TikoS @jmirmelstein Thanks for all your help, we think we have it figured out. We will update the sample - but for now this should get it working. In cygwin, you'll want to be in you
Start up Hive and add the jars and functions:
Drop existing tables and create new empty ones:
Load data into the tables:
You should now be able to complete the analysis in the sample |
Hi ... I have again problem ... in last step DATA INPATH I got this:
I had to change path to .csv and .json because it was different |
can you type this in? (after exiting hive)
Did you mean to get rid of |
Yes I can ... I did it before so here is result of that:
And yes, this change I made BTW: Taxi demo sample ... I am again in step 9 .. .change the value from 0.01 to 1 to make it faster BUT ... it is still slow ... or its okey? I am just asking because I don´t know ... Isn ´t it weird ?
EDIT:
@smambrose Please, could you help me little bit with this? |
I'm going to create a new issue for the aggregation problems. As for the data inpath error - I have been able to reproduce it, and am still looking into the cause. I was able to run the above code again, instead of using "earthquake-demo" I tried something else, and it worked. So you might want to try it again if you haven't. Here is what I had: Loading them into "try1"
Use Hive and load jars/functions
View tables/drop old ones/create new ones
Tried loading from "earthquakes-demo"
Loaded from new location (try1)
Created counties table and loaded data
An important thing to note is that once you load data, you have to use the put command again (like Please let me know if a second run through works. |
Hi guys,
I am trying to run your tutorials but I don´t know whats wrong. At first, I am new, really beginner in these things like Hadoop etc.
I uses this, exactly same what is written there: https://github.com/Esri/gis-tools-for-hadoop/wiki/GIS-Tools-for-Hadoop-for-Beginners
Now samples ... I tried https://github.com/Esri/gis-tools-for-hadoop/tree/master/samples/point-in-polygon-aggregation-hive but when I type last query (select, join, group, order ...) I have this :
so I dont have any results ...
Another sample example is Feature Class to HDFS ( https://github.com/Esri/gis-tools-for-hadoop/wiki/Getting-a-Feature-Class-into-HDFS) ... I am in step 6 - 7 ... I should write that
DROP TABLE
in Cygwin right? I did it, and have resultOK
, then I writedescribe formatted input_ex
and nothing happens ... whats wrong with that? I am going step by step like a child ... It could be problem between keyboard and chair (me) but I do everything based on your tutorial ...EDIT: Feature Class to HDFS is working now ... I just forgot to write
;
and the end ofdescribe formatted input_ex
... I didn´t know that it should be there and in tutorial this;
is missingThanks for advice :)
The text was updated successfully, but these errors were encountered: