Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Re: hadoop -put command


Copy link to this message
-
Re: hadoop -put command
The colon is a reserved character in a URI according to RFC 3986[1].

You should be able to percent encode those colons as %3A.

[1] http://tools.ietf.org/html/rfc3986
On Wed, Dec 26, 2012 at 1:00 PM, Mohit Anchlia <[EMAIL PROTECTED]>wrote:

> It looks like hadoop fs -put command doesn't like ":" in the file names.
> Is there a way I can escape it?
>
>
> hadoop fs -put /home/mapr/p/hjob.2012:12:26:11.0.dat
> /user/apuser/temp-qdc/scratch/merge_jobs
>
> put: java.net.URISyntaxException: Relative path in absolute URI:
> hjob.2012:12:26:11.0.dat
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB