Re: WordCount MapReduce error

2017-02-22 Thread Ravi Prakash
Hi Vasil! I'm taking the liberty of adding back user mailing list in the hope that someone in the future may chance on this conversation and find it useful. Could you please try by setting HADOOP_IDENT_STRING="Vasil" , although I do see https://issues.apache.org/jira/browse/HADOOP-10978 and I'm

Re: WordCount MapReduce error

2017-02-22 Thread Ravi Prakash
Hi Vasil! It seems like the WordCount application is expecting to open the intermediate file but failing. Do you see a directory under D:/tmp/hadoop-Vasil Grigirov/ . I can think of a few reasons. I'm sorry I am not familiar with the Filesystem on Windows 10. 1. Spaces in the file name are not

WordCount MapReduce error

2017-02-22 Thread Васил Григоров
Hello, I've been trying to run the WordCount example provided on the website on my Windows 10 machine. I have built the latest hadoop version (2.7.3) successfully and I want to run the code on the Local (Standalone) Mode. Thus, I have not specified any configurations, apart from setting the

Re: java.util.ArrayList cannot be cast to [Ljava.util.ArrayList in hive

2017-02-22 Thread Ted Yu
This question should be for Hive mailing list. The exception message is quite clear: you're casting to ArrayList[] On Wed, Feb 22, 2017 at 5:41 AM, merp queen wrote: > Object values[] = (Object[])str.getValue(); // Target values > > I changed above line to below and

java.util.ArrayList cannot be cast to [Ljava.util.ArrayList in hive

2017-02-22 Thread merp queen
Object values[] = (Object[])str.getValue(); // Target values I changed above line to below and its giving this error ArrayList values[] = (ArrayList[])str.getValue(); Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: