我的新磚,不確定我能做什麼這個問題。我運行一個簡單的列出所有文件路徑但得到SSLHandshakeException發表評論。
有什麼方法來解決這個問題嗎?
完整的錯誤信息
ExecutionError回溯(最近調用最後)
模塊在< <命令- 2100345877892203 > >
- - - - - > 1dbutils.fs.ls(“abfss: / /(帳戶名)。dfs.core.windows.net/”)
/磚/ python_shell / dbruntime /dbutils.py在f_with_exception_handling (* args, * * kwargs)
317 exc.__context__ =沒有
318 exc.__cause__ =沒有
- - > 319年籌集exc
320年
321年返回f_with_exception_handling
ExecutionError:調用z時發生一個錯誤:com.databricks.backend.daemon.dbutils.FSUtils.ls。
狀態碼:1錯誤代碼:零錯誤信息:InvalidAbfsRestOperationExceptionjavax.net.ssl.SSLHandshakeException:無標題選擇DNS名稱匹配(帳戶名)。dfs.core.windows.net發現。
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.executeHttpOperation (AbfsRestOperation.java: 316)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.execute (AbfsRestOperation.java: 226)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsClient.listPath (AbfsClient.java: 234)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.listStatus (AzureBlobFileSystemStore.java: 915)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.listStatus (AzureBlobFileSystemStore.java: 877)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.listStatus (AzureBlobFileSystem.java: 463)
在com.databricks.backend.daemon.dbutils.FSUtils。美元anonfun ls 1美元(DBUtilsCore.scala: 154)
com.databricks.backend.daemon.dbutils.FSUtils .withFsSafetyCheck美元(DBUtilsCore.scala: 91)
com.databricks.backend.daemon.dbutils.FSUtils .ls美元(DBUtilsCore.scala: 153)
在com.databricks.backend.daemon.dbutils.FSUtils.ls(DBUtilsCore.scala)
在sun.reflect.NativeMethodAccessorImpl。invoke0(本地方法)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 43)
java.lang.reflect.Method.invoke (Method.java: 498)
py4j.reflection.MethodInvoker.invoke (MethodInvoker.java: 244)
py4j.reflection.ReflectionEngine.invoke (ReflectionEngine.java: 380)
py4j.Gateway.invoke (Gateway.java: 295)
py4j.commands.AbstractCommand.invokeMethod (AbstractCommand.java: 132)
py4j.commands.CallCommand.execute (CallCommand.java: 79)
py4j.GatewayConnection.run (GatewayConnection.java: 251)
java.lang.Thread.run (Thread.java: 748)
造成的:javax.net.ssl.SSLHandshakeException:無標題選擇DNS名稱匹配(帳戶名).dfs.core.windows.net發現。
sun.security.ssl.Alert.createSSLException (Alert.java: 131)
sun.security.ssl.TransportContext.fatal (TransportContext.java: 348)
sun.security.ssl.TransportContext.fatal (TransportContext.java: 291)
sun.security.ssl.TransportContext.fatal (TransportContext.java: 286)
sun.security.ssl.CertificateMessage T12CertificateConsumer.checkServerCerts美元(CertificateMessage.java: 654)
sun.security.ssl.CertificateMessage T12CertificateConsumer.onCertificate美元(CertificateMessage.java: 473)
sun.security.ssl.CertificateMessage T12CertificateConsumer.consume美元(CertificateMessage.java: 369)
sun.security.ssl.SSLHandshake.consume (SSLHandshake.java: 377)
sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java: 444)
sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java: 422)
sun.security.ssl.TransportContext.dispatch (TransportContext.java: 182)
sun.security.ssl.SSLTransport.decode (SSLTransport.java: 156)
sun.security.ssl.SSLSocketImpl.decode (SSLSocketImpl.java: 1418)
sun.security.ssl.SSLSocketImpl.readHandshakeRecord (SSLSocketImpl.java: 1324)
sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java: 439)
sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java: 410)
sun.net.www.protocol.https.HttpsClient.afterConnect (HttpsClient.java: 559)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java: 197)
sun.net.www.protocol.http.HttpURLConnection.getInputStream0 (HttpURLConnection.java: 1570)
sun.net.www.protocol.http.HttpURLConnection.access 200美元(HttpURLConnection.java: 92)
在sun.net.www.protocol.http.HttpURLConnection 9.美元運行(HttpURLConnection.java: 1490)
在sun.net.www.protocol.http.HttpURLConnection 9.美元運行(HttpURLConnection.java: 1488)
在java.security.AccessController。doPrivileged(本地方法)
java.security.AccessController.doPrivilegedWithCombiner (AccessController.java: 784)
sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java: 1487)
java.net.HttpURLConnection.getResponseCode (HttpURLConnection.java: 480)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode (HttpsURLConnectionImpl.java: 352)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsHttpOperation.processResponse (AbfsHttpOperation.java: 348)
shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.executeHttpOperation (AbfsRestOperation.java: 293)
引起的:java.security.cert。CertificateException:無標題選擇DNS名稱匹配(帳戶名).dfs.core.windows.net發現。
sun.security.util.HostnameChecker.matchDNS (HostnameChecker.java: 230)
sun.security.util.HostnameChecker.match (HostnameChecker.java: 106)
sun.security.ssl.X509TrustManagerImpl.checkIdentity (X509TrustManagerImpl.java: 457)
sun.security.ssl.X509TrustManagerImpl.checkIdentity (X509TrustManagerImpl.java: 417)
sun.security.ssl.X509TrustManagerImpl.checkTrusted (X509TrustManagerImpl.java: 230)
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted (X509TrustManagerImpl.java: 129)
sun.security.ssl.CertificateMessage T12CertificateConsumer.checkServerCerts美元(CertificateMessage.java: 638)
提前謝謝!