top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Hadoop: unexpected URISyntaxException

+2 votes
8,045 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 LinkedIn 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 ********** /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)

...