Member since
03-28-2016
7
Posts
3
Kudos Received
0
Solutions
04-08-2016
06:41 PM
2 Kudos
I am trying to use ILLUSTRATE command on Pig using Ambari. The data is of csv format which I have loaded using PigStorage. When I use the ILLUSTRATE command, it gives me an IOException. Do I have to use any additional import statements in PIG to use the command? This is the exceptino that shows up in the logs: 2016-04-08 18:20:55,165 [main] ERROR org.apache.pig.pen.ExampleGenerator - Error reading data. Internal error creating job configuration. 2016-04-08 18:20:55,183 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. Exception This is the exception that shows up in the results: java.lang.RuntimeException: Internal error creating job configuration.
at org.apache.pig.pen.ExampleGenerator.getExamples(ExampleGenerator.java:161)
at org.apache.pig.PigServer.getExamples(PigServer.java:1346)
at org.apache.pig.tools.grunt.GruntParser.processIllustrate(GruntParser.java:812)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.Illustrate(PigScriptParser.java:818)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:385)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205)
at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81)
at org.apache.pig.Main.run(Main.java:502)
at org.apache.pig.Main.main(Main.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
... View more
Labels:
04-08-2016
06:30 PM
@rguruvannagari I used a Windows machine to download Hortonworks Sandbox and am working on it now. I need to recheck wiht the Linux system
... View more
03-29-2016
06:43 PM
@rguruvannagari I tried to use the above command and it didn't fail, This is what I got. Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.16.0-67-generic x86_64)
* Documentation: https://help.ubuntu.com/
22 packages can be updated.
18 updates are security updates.
Last login: Tue Mar 29 13:57:50 2016 from localhost there are the steps that I followed next, please correct me if I did it wrong root@paggu:~# ambari-server start On my browser : localhost:8080 , opened the Ambari page. For list of hostnames: localhost private key: /root/.ssh/id_rsa SSH User Account : root but it fails.
... View more
03-28-2016
03:24 PM
@rguruvannagari, this is the bootstrap.err for my most recent attempt paggu@paggu:/var/run/ambari-server/bootstrap/9$ sudo cat bootstrap.err
[sudo] password for paggu:
INFO:root:BootStrapping hosts ['paggu'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: ubuntu14 with user 'root' sshKey File /var/run/ambari-server/bootstrap/9/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/9 ambari: paggu; server_port: 8080; ambari version: 2.2.1.1; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host paggu fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,password).
STDOUT:
Permission denied (publickey,password).
INFO:root:Finished parallel bootstrap bootstrap.out is empty.
... View more
03-28-2016
07:53 AM
@Sagar Shimpi They are the same.This is the page I am stuck in for a long time. my hostname and hostname -f are the same. I initially tried to set a FQDN hostname and tried to use that, but it still failed. hostname.png
... View more
03-28-2016
07:52 AM
@rguruvannagari Doesn't really help, I get the same issue. I wasn't doing it in root prior to this, I tried in root now, but I still get the same issue.
... View more
03-28-2016
06:05 AM
1 Kudo
I am trying to use Pig on Ubuntu using Ambari, and am encountering issues with Cluster Install Wizard. I have followed the previous steps given in instruction, and the starts server starts. After I login with username/password as admin/admin , and follow steps for Cluster Install Wizard. But the host confirmation keeps failing. The hostname is the one that I found from hostname -f I am probably going wrong with the password-less ssh, but I followed the instructions in the hortonworks document. It would of a great help if someone could guide me through with this.
... View more
Labels: