Reply
gkb
Explorer
Posts: 14
Registered: ‎01-09-2014

Not able to upload file to oozie workspace

I am trying to upload a jar file to the oozie workspace. I get an error (Error: undefined )after 96% of upload.

I am trying to upload via file browser provided by Hue. I have also tried uploading via workflow editior but no luck.

Its a jar file of size 77MB.

 

New Contributor
Posts: 5
Registered: ‎08-11-2013

Re: Not able to upload file to oozie workspace

Do you have more information in the Hue logs (/logs page) or on the
NameNode? (/var/log/hadoop-hdfs/hadoop-
hdfs-namenode-*.log) ?

Romain


gkb
Explorer
Posts: 14
Registered: ‎01-09-2014

Re: Not able to upload file to oozie workspace

from Hue logs: 

 

[03/Feb/2014 13:24:11 +0000] access WARNING 127.0.0.1 cloudera - "GET /logs HTTP/1.0"

[03/Feb/2014 13:24:02 +0000] middleware DEBUG No desktop_app known for request.

[03/Feb/2014 13:24:02 +0000] http_client DEBUG POST http://localhost.localdomain:50075/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:02 +0000] http_client DEBUG POST http://localhost.localdomain:50070/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:02 +0000] resource DEBUG POST Got response:

[03/Feb/2014 13:24:01 +0000] http_client DEBUG POST http://localhost.localdomain:50075/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:01 +0000] http_client DEBUG POST http://localhost.localdomain:50070/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:01 +0000] upload DEBUG Upload attempt to /user/hue/oozie/workspaces/_cloudera_-oozie-29-1389682144.69/lib/spark-assembly-0.8.1-incubating-hadoop1.0.4.jar.tmp

[03/Feb/2014 13:24:01 +0000] resource DEBUG GET Got response: {"FileStatus":{"accessTime":1391...

[03/Feb/2014 13:24:01 +0000] http_client DEBUG GET http://localhost.localdomain:50070/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:01 +0000] resource DEBUG PUT Got response:

[03/Feb/2014 13:24:00 +0000] http_client DEBUG PUT http://localhost.localdomain:50075/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:00 +0000] http_client DEBUG PUT http://localhost.localdomain:50070/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:00 +0000] http_client DEBUG GET http://localhost.localdomain:50070/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:24:00 +0000] resource DEBUG GET Got response: {"FileStatus":{"accessTime":0,"b...

[03/Feb/2014 13:24:00 +0000] http_client DEBUG GET http://localhost.localdomain:50070/webhdfs/v1/user/hue/oozie/workspaces/_cloudera_-oozie-29-13896821...

[03/Feb/2014 13:23:39 +0000] access INFO 127.0.0.1 cloudera - "GET /debug/check_config_ajax HTTP/1.0"

[03/Feb/2014 13:23:39 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/font/fontawesome-webfont.woff HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/jquery/plugins/jquery.dataTables.1.8.2.min.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/jquery/plugins/jquery.cookie.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.filechooser.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/available.tours.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.migration.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/jquery/jquery-2.0.2.min.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/fileuploader.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/bootstrap.min.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.datatables.sorting.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/jquery/plugins/jquery.placeholder.min.js HTTP/1.0"

[03/Feb/2014 13:23:38 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/js/jquery/plugins/jquery.total-storage.min.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/css/fileuploader.css HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.tour.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.scrollup.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/css/hue2.css HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.tableextender.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.tablescroller.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.notify.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.rowselector.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.alert.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/js/Source/jHue/jquery.selector.js HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/css/font-awesome.min.css HTTP/1.0"

[03/Feb/2014 13:23:37 +0000] access DEBUG 127.0.0.1 cloudera - "GET /static/ext/css/bootstrap.min.css HTTP/1.0"

New Contributor
Posts: 5
Registered: ‎08-11-2013

Re: Not able to upload file to oozie workspace

There is no error or information.

Could you check the NN logs?
e.g.
/var/log/hadoop-hdfs/hadoop-hdfs-namenode-*.log

Romain

Explorer
Posts: 23
Registered: ‎02-11-2014

Re: Not able to upload file to oozie workspace

Hi,

 

First of all try to check space on disk on namenode machine. If there is enough space available, you should than try to check by uploading workflow files using "hadoop fs -copyFromLocal" command or "hadoo fs -put" command.

 

Also kindly share detail logs too, it is required to get exact RCA for your issue.

 

Regards,
Chirag Patadia.