Member since
07-25-2016
16
Posts
6
Kudos Received
0
Solutions
12-07-2016
02:41 PM
Here is the full stack trace java.io.IOException: java.lang.IllegalArgumentException: "TLSv1 at org.apache.hadoop.crypto.key.kms.KMSClientProvider.createConnection(KMSClientProvider.java:491) at org.apache.hadoop.crypto.key.kms.KMSClientProvider.decryptEncryptedKey(KMSClientProvider.java:776) at org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.java:388) at org.apache.hadoop.hdfs.DFSClient.decryptEncryptedDataEncryptionKey(DFSClient.java:1381) at org.apache.hadoop.hdfs.DFSClient.createWrappedOutputStream(DFSClient.java:1483) at org.apache.hadoop.hdfs.DFSClient.createWrappedOutputStream(DFSClient.java:1468) at org.apache.hadoop.hdfs.DistributedFileSystem$7.doCall(DistributedFileSystem.java:451) at org.apache.hadoop.hdfs.DistributedFileSystem$7.doCall(DistributedFileSystem.java:444) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:459) at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:387) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:909) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:890) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:816) at com.attivio.commandline.hadoopchecker.AbstractHadoopChecker.testHDFS(AbstractHadoopChecker.java:128) at com.attivio.commandline.hadoopchecker.HDFSChecker.internalRun(HDFSChecker.java:26) at com.attivio.commandline.hadoopchecker.AbstractHadoopChecker.runTest(AbstractHadoopChecker.java:95) at com.attivio.slider.commandline.hadoopchecker.HadoopChecker.runTest(HadoopChecker.java:31) at com.attivio.slider.commandline.hadoopchecker.HadoopChecker.internalRun(HadoopChecker.java:66) at com.attivio.commandline.hadoopchecker.AbstractHadoopChecker.runTest(AbstractHadoopChecker.java:95) at com.attivio.commandline.hadoopchecker.AbstractHadoopChecker.run(AbstractHadoopChecker.java:90) at com.attivio.commandline.CommandLineRunner.execute(CommandLineRunner.java:163) at com.attivio.commandline.CommandLineRunner.execute(CommandLineRunner.java:186) at com.attivio.commandline.CommandLineRunner.main(CommandLineRunner.java:182) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57) Caused by: java.lang.IllegalArgumentException: "TLSv1 at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187) at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84) at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52) at sun.security.ssl.SSLSocketImpl.setEnabledProtocols(SSLSocketImpl.java:2504) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:463) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:190) at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.authenticate(DelegationTokenAuthenticator.java:128) at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:215) at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticatedURL.openConnection(DelegationTokenAuthenticatedURL.java:322) at org.apache.hadoop.crypto.key.kms.KMSClientProvider$1.run(KMSClientProvider.java:483) at org.apache.hadoop.crypto.key.kms.KMSClientProvider$1.run(KMSClientProvider.java:478) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) at org.apache.hadoop.crypto.key.kms.KMSClientProvider.createConnection(KMSClientProvider.java:478) ... 29 more
... View more
12-07-2016
02:26 PM
CDH 5.7.3 with services HBase, HDFS, YARN, ZooKeeper, Kerberos, TLS/SSL on services, Key Trustee KMS, KeyTrustee Server Cluster all services running green When making a the call org.apache.hadoop.fs.FileSystem.create(testFile, 1) // 1 being replication Results in an IOException message [java.lang.IllegalArgumentException: "TLSv1], cause java.lang.IllegalArgumentException: "TLSv1] Any idea of what this may mean? Thanks
... View more
09-12-2016
02:58 PM
Once I deployed updated hadoop jars the error was fixed.
... View more
08-30-2016
04:52 PM
Thanks for the reply. I rebuilt slider using hadoop and protobuf jars that are the same version that Cloudera 5.8 is using. The error still occurs. The hadoop was a version of 2.6.0 which did not appear to have other dependencies. After more testing this seems to occur when using kerberos. Cludera 5.8 without kerberos does not have a problem.
... View more
08-29-2016
08:55 PM
1 Kudo
Asking this in this forum since it a slider issue and Cloudera does not "support" slider. I get the following error when doing slider (0.91.0-incubating) deploy, status and other commands: This started when communicating with a kerberos Cloudera 5.8 cluster, the code works with kerberos Cloudera 5.7 cluster. The version of protobuf-java-2.5.0 is used by slider and cloudera. Any ideas of what may be the problem would be appreciated 2016-08-29 15:45:18,899 [main] WARN ipc.Client - Exception encountered while connecting to the server : org.apache.hadoop.ipc.RemoteException(com.google.protobuf.InvalidProtocolBufferException): Protocol message contained an invalid tag (zero).
2016-08-29 15:45:18,901 [main] WARN client.SliderClient - Exception while trying to terminate test1_default_index
com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
at org.apache.slider.server.appmaster.rpc.SliderClusterProtocolProxy.convert(SliderClusterProtocolProxy.java:86)
at org.apache.slider.server.appmaster.rpc.SliderClusterProtocolProxy.stopCluster(SliderClusterProtocolProxy.java:98)
at org.apache.slider.client.SliderClient.actionFreeze(SliderClient.java:3033)
at org.apache.slider.client.SliderClient.exec(SliderClient.java:392)
at org.apache.slider.client.SliderClient.runService(SliderClient.java:329)
at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475)
at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630)
at org.apache.slider.Slider.main(Slider.java:49)
Caused by: org.apache.hadoop.ipc.RemoteException(com.google.protobuf.InvalidProtocolBufferException): Protocol message contained an invalid tag (zero).
at org.apache.hadoop.ipc.Client.call(Client.java:1476)
at org.apache.hadoop.ipc.Client.call(Client.java:1407)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
at com.sun.proxy.$Proxy17.stopCluster(Unknown Source)
at org.apache.slider.server.appmaster.rpc.SliderClusterProtocolProxy.stopCluster(SliderClusterProtocolProxy.java:96)
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Kerberos