You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by Ravi Tatapudi <ra...@in.ibm.com> on 2016/01/06 13:00:20 UTC

Issue with WebHDFS Kerberos authentication, when running with JVM-1.7.0-SR1 or above

Hello,

Pl. find attached text-file, having the sample-code for deleting a file on 
"WebHDFS with kerberos security enabled". 



I see that, this code is working successfully when run using "JDK-1.7-GA" 
(i.e., with "J9VM - R27_Java727_GA_20131114_0833_B175264", as seen from 
the output of the command: "java -version"). However, when the same code 
is run using the JDK-1.7-SR1 or above (i.e., with "J9VM - R27_Java727_SR1
_20140410_1931_B195893", as seen from the output of the command: "java 
-version"), it is failing with the exception shown in the attached 
text-file below:



I also tried using the JDK-1.7-SR3.fp20 ("J9VM - 
R27_Java727_SR3_20151022_1530_B273253") & got the same exception, that I 
am seeing with JDK-1.7-SR1. I have executed all these tests, using the 
same set of Hadoop/Hive-jars, the only change being the JDK-version.

Could you please see the same & provide your inputs / suggestions on how 
to proceed further with this issue.

Thanks,
 Ravi


Re: Issue with WebHDFS Kerberos authentication, when running with JVM-1.7.0-SR1 or above

Posted by larry mccay <lm...@apache.org>.
Hi Ravi -

I don't see any indication that you are using Knox in what you have
attached.
I think that you need to move to the hadoop dev list.

I can tell you that I haven't encountered this particular issue or even
seen that error for other reasons before.
I'll keep an eye out on the hadoop list for your question - as I'm
interested in the outcome.

thanks,

--larry

On Wed, Jan 6, 2016 at 7:00 AM, Ravi Tatapudi <ra...@in.ibm.com>
wrote:

> Hello,
>
> Pl. find attached text-file, having the sample-code for deleting a file on
> "WebHDFS with kerberos security enabled".
>
>
>
> I see that, this code is working successfully when run using "JDK-1.7-GA"
> (i.e., with "*J9VM - R27_**Java727_GA**_20131114_0833_B175264*", as seen
> from the output of the command: "java -version"). However, when the same
> code is run using the JDK-1.7-SR1 or above (i.e., with "*J9VM - R27_*
> *Java727_SR1**_20140410_1931_B195893*", as seen from the output of the
> command: "java -version"), it is failing with the exception shown in the
> attached text-file below:
>
>
>
> I also tried using the JDK-1.7-SR3.fp20 ("*J9VM -
> R27_Java727_SR3_20151022_1530_B273253*") & got the same exception, that I
> am seeing with JDK-1.7-SR1. I have executed all these tests, using the same
> set of Hadoop/Hive-jars, the only change being the JDK-version.
>
> Could you please see the same & provide your inputs / suggestions on how
> to proceed further with this issue.
>
> Thanks,
>  Ravi
>