Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

failure running pig demo script

8 views
Skip to first unread message

Will Dowling

unread,
Feb 10, 2016, 10:05:27 AM2/10/16
to qubole...@googlegroups.com
Followed the steps in http://docs.qubole.com/en/latest/quick-start-guide/running-pig-job.html#running-pig-job I get the failure below. Any ideas? Thanks! export AUTH_TOKEN=........ curl -i -X POST -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "script_location":"s3://paid-qubole/PigAPIDemo/scripts/script1-hadoop-s3-small.pig", "command_type": "PigCommand"}' "https://api.qubole.com/api/v1.2/commands" HTTP/1.1 200 OK Cache-Control: max-age=0, private, must-revalidate Content-Type: application/json; charset=utf-8 Date: Wed, 10 Feb 2016 14:27:58 GMT ETag: "d4e3d1a48f934288295f0a558df3d564" Server: nginx/1.6.2 + Phusion Passenger 4.0.53 Set-Cookie: qbol_user_id=11052; path=/ Set-Cookie: _tapp_session=fa3a9804bf98f77ce5775f97308035ec; path=/; HttpOnly Status: 200 OK X-Frame-Options: SAMEORIGIN X-Powered-By: Phusion Passenger 4.0.53 X-Rack-Cache: invalidate, pass X-Request-Id: 4f81a729bdfd188f2fd0e608743a3f13 X-Runtime: 0.259860 X-UA-Compatible: IE=Edge,chrome=1 Content-Length: 760 Connection: keep-alive {"id":18230162,"path":"/tmp/2016-02-10/3910/18230162","status":"waiting","created_at":"2016-02-10T14:27:57Z","command_type":"PigCommand","progress":0,"qbol_session_id":991714,"qlog":null,"resolved_macros":null,"pid":null,"template":"generic","submit_time":1455114477,"start_time":null,"end_time":null,"can_notify":false,"num_result_dir":0,"pool":null,"timeout":null,"name":null,"command_source":"API","account_id":"3910","saved_query_mutable_id":null,"user_id":11052,"label":"default","meta_data":{"results_resource":"commands/18230162/results","logs_resource":"commands/18230162/logs"},"uid":6548,"command":{"script_location":"s3://paid-qubole/PigAPIDemo/scripts/script1-hadoop-s3-small.pig","parameters":null,"latin_statements":null,"md_cmd":true,"retry":0}} $ curl -XGET -H "X-AUTH-TOKEN: $AUTH_TOKEN" "https://api.qubole.com/api/v1.2/commands/18230162" {"id":18230162,"path":"/tmp/2016-02-10/3910/18230162","status":"error","created_at":"2016-02-10T14:27:57Z","command_type":"PigCommand","progress":100,"qbol_session_id":991714,"qlog":null,"resolved_macros":null,"pid":null,"template":"generic","submit_time":1455114477,"start_time":null,"end_time":1455114478,"can_notify":false,"num_result_dir":0,"pool":null,"timeout":null,"name":null,"command_source":"API","account_id":"3910","saved_query_mutable_id":null,"user_id":11052,"label":"default","meta_data":{"results_resource":"commands/18230162/results","logs_resource":"commands/18230162/logs"},"uid":6548,"command":{"script_location":"s3://paid-qubole/PigAPIDemo/scripts/script1-hadoop-s3-small.pig","parameters":null,"latin_statements":null,"md_cmd":true,"retry":0}} curl -XGET -H "X-AUTH-TOKEN: $AUTH_TOKEN" "https://api.qubole.com/api/v1.2/commands/18230162/logs" Command failed with an exception: invalid byte sequence in UTF-8
Reply all
Reply to author
Forward
0 new messages