RE: GSSException: Defective token detected

2015-10-12 Thread Jingfei Hu
Hi Ranjith, I am trying to know more detail about your suggested ways. When I have this issue in the past I had to get a new ticket using the MIT ticket manager. On which machine I use MIT ticket manager? The hdfs cluster? The DC host? Or the client from which I am accessing webhdfs serv

Http request uri query parameters of the redirected location

2015-10-12 Thread Jingfei Hu
Hi team, I am using WebHDFS rest api to read from and write to HDFS cluster files. I've got a minor question when using curl command line to practice some apis. It's Would the query parameters be appended to the redirected location when creating files or any other apis which needs a redirect?

Re: Http request uri query parameters of the redirected location

2015-10-12 Thread Chris Nauroth
Hello Jingfei, Yes, the relevant query parameters are included in the redirect location of the HTTP 302 response, and this is by design. Many of the curl examples in the WebHDFS documentation use the curl -L option. http://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/WebHDFS.ht

Passing instance of a class to Mapper

2015-10-12 Thread Datta, Saurav
Hello, I am trying to pass an instance of a class to a Mapper. However, I understand Hadoop does not allow this. Any workaround to make this happen ? Regards, Saurav Datta Data Engineer| Desk - (408)967-7360| Cell - (408)666-1722