Re: Failed to run 'mvn package' on hadoop-2.2 using Cygwin

2014-05-21 Thread sam liu
Still failed... I added /opt/software/protobuf-2.5.0/src/.libs/libprotoc.so and other libprotoc.so.* files to LD_LIBRARY _PATH. But still failed, and the exceptions are: [WARNING] [/home/sam/protobuf-2.5.0/bin/protoc, --version] failed: java.io.IOException: Cannot run program

Re: Failed to run 'mvn package' on hadoop-2.2 using Cygwin

2014-05-21 Thread sam liu
A more detailed exception info: [ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.2.0:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version - [Help 1]

Re: Failed to run 'mvn package' on hadoop-2.2 using Cygwin

2014-05-21 Thread bo yang
I kind of remember I hit similar issue when building hadoop 2.4. I changed the source code to use the full path of protoc.exe. It is in hadoop-maven-plugins\src\main\java\org\apache\hadoop\maven\plugin\protoc\ProtocMojo.java: protocCommand = C:\\cygwin64\\usr\\local\\bin\\protoc.exe; Then the

nodemanage -- process information unavailable

2014-05-21 Thread dwld0...@gmail.com
HiI run cloudera Hadoop2.0 with lustre.It will appear one invalid process of nodemanage after runing mapreduce every time.as follow:3138 -- process information unavailable dwld0...@gmail.com

Issue with conf.set and conf.get method

2014-05-21 Thread unmesha sreeveni
Hi, I am having an issue with conf.set and conf.get method Driver Configuration conf=new Configuration(); conf.set(delimiter,args[2]); //File delimiter as user argument Map/Reduce Configuration conf = context.getConfiguration(); String delim = conf.get(delimiter); All things works fine

Re: Failed to run 'mvn package' on hadoop-2.2 using Cygwin

2014-05-21 Thread sam liu
Failed again... I modified ProtocMojo.java as: * if (protocCommand == null || protocCommand.trim().isEmpty()) { protocCommand = D:\\software\\Linux\\cygwin64\\bin\\protoc.exe; //protocCommand = protoc; }* And then, still encounterred issues as below:

Re: Failed to run 'mvn package' on hadoop-2.2 using Cygwin

2014-05-21 Thread Krishna Chaitanya
Try installing protocol buffer again..make clean, make and make install On May 21, 2014 1:49 PM, sam liu samliuhad...@gmail.com wrote: Failed again... I modified ProtocMojo.java as: * if (protocCommand == null || protocCommand.trim().isEmpty()) { protocCommand =

Re: Issue with conf.set and conf.get method

2014-05-21 Thread Stanley Shi
Are you trying to pass arguments from user input? reading input from stdin? I suggest you use some special characters to express; for example, let args[2] == TAB and in your program, you can convert this TAB to the real delimeter you want to use (\t) Regards, *Stanley Shi,* On Wed, May 21,

unsubscribe

2014-05-21 Thread Nouf M.
​unsubscribe

Re: unsubscribe

2014-05-21 Thread Mohammad Tariq
You need to send the request to *user-unsubscr...@hadoop.apache.org user-unsubscr...@hadoop.apache.org* if you wish to unsubscribe form the list. *Warm regards,* *Mohammad Tariq* *cloudfront.blogspot.com http://cloudfront.blogspot.com* On Wed, May 21, 2014 at 4:05 PM, Nouf M. nouf...@gmail.com

Re: Unable to connect Hive using JDBC program

2014-05-21 Thread harish tangella
Hi, Close the hive terminal and start the new without giving port number the command is hive --service hiveserver don't give any port number hope it will works On Mon, May 19, 2014 at 11:27 PM, Sanjeevv Sriram sanj2e...@gmail.comwrote: I tried with different ports... still I am getting the

Re: Job Tracker Stops as Task Tracker starts

2014-05-21 Thread Faisal Rabbani
My jobtracker/tasktracker everything is working fine but I am unable to access jobtracker web homepage. Similarly in hbase I am getting this exception on every command run, but hbase is working fine. hbase(main):003:0 list TABLE t1 Java::JavaLang::NoSuchMethodError:

Re: Failed to run 'mvn package' on hadoop-2.2 using Cygwin

2014-05-21 Thread bo yang
By the way, how did you install your JDK? I installed JDK under windows, and then in Cygwin, I point to that JDK. If you build and install JDK under Cygwin, the file path with \\ might not work since Cygwin (Linux) uses / as separator. On Wed, May 21, 2014 at 1:52 AM, Krishna Chaitanya

Re: where to put log4j.properties for logging out of MR job?

2014-05-21 Thread Sebastian Gäde
Ok, my fault. It is not about the PatternLayout. But deleting the file Flume is currently using without restarting the agent is not a good idea. ;-) Cheers Seb. Am 19.05.2014 um 20:46 schrieb Sebastian Gäde s116...@hft-leipzig.de: Hi, thanks, worked for me, (using

Re: hadoop job stuck in accepted state

2014-05-21 Thread Sebastian Gäde
Hi, I remember having a similar issue. My job was demanding for more memory then available in the cluster, that’s why it was waiting forever. Could you check the resource-/nodemanager logs? Also the „Scheduler page in the Webapp might give a hint whether the job is not starting because of

Re: Unable to connect Hive using JDBC program

2014-05-21 Thread Sanjeevv Sriram
When I try to start hive server with out any port, I am getting below exception [cloudera@localhost lib]$ hive --service hiveserver Starting Hive Thrift Server 14/05/21 21:20:26 INFO Configuration.deprecation: mapred.input.dir.recursive is deprecated. Instead, use

Re: Unable to connect Hive using JDBC program

2014-05-21 Thread Mohammad Tariq
Could you please show me your code? *Warm regards,* *Mohammad Tariq* *cloudfront.blogspot.com http://cloudfront.blogspot.com* On Wed, May 21, 2014 at 11:44 PM, Sanjeevv Sriram sanj2e...@gmail.comwrote: When I try to start hive server with out any port, I am getting below exception

Re: Unable to connect Hive using JDBC program

2014-05-21 Thread Abhishek Girish
Could you try the following sequence of commands: *$ sudo lsof -i :port* (Try for 9083, 1 and other previous ports you may have attempted to use) If there already exists a process, it would be listed. You could then kill the same and then attempt to restart metastore followed by hiveserver

Re: Issue with conf.set and conf.get method

2014-05-21 Thread Stanley Shi
Regards, *Stanley Shi,* On Thu, May 22, 2014 at 10:46 AM, Stanley Shi s...@gopivotal.com wrote: seems my guess is correct; I mean in your program, you can call: *hadoop jar myjar.jar input output * *instead you use:* *hadoop jar myjar.jar input output TAB* *or * *hadoop jar