top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Hadoop: unexpected URISyntaxException

+2 votes
1,741 views

My file name contains ":" and I got error "copyFromLocal: unexpected URISyntaxException" when I try to copy this file to Hadoop. See below.

$ hadoop fs -copyFromLocal wrfout_d01_2001-01-01_00:00:00 netcdf_data/
copyFromLocal: unexpected URISyntaxException

I am using Hadoop 2.2.0. Any suggestions?

posted Apr 28, 2014 by Tarun Singhal

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button
try putting escape chars around it
I tried to put escape chars around it, but it does not work.

1 Answer

+1 vote

Colons in path names may not currently work well. Check this link
https://issues.apache.org/jira/browse/HADOOP-7945

answer Apr 28, 2014 by Parveen
Similar Questions
0 votes

I have a small problem. I need to integrate Hadoop web interface with our web application . I just need an Hadoop interface where we can run some hadoop commands something like

1 cat hadoop dfs -cat prints the file contents
2 chgrp hadoop dfs -chgrp [-R] GROUP URI [URI …]
3 chmod hadoop dfs -chmod [-R] <MODE[,MODE]... | OCTALMODE> URI
4 hadoop dfsadmin -setSpaceQuota 10737418240 /user/esammer
5 hadoop dfsadmin -report
6 copyFromLocal hadoop dfs -copyFromLocal URI

for this need an web interface. I already installed cloudera manager. I am using this Version: Cloudera Enterprise Data Hub Edition Trial 5.1.1 (#82 built by jenkins on 20140725-1608 git: cb9ebb729efc7929e1968b23dc6cf776086e20a7)

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...