Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4574

When tls is enabled the steps differ for AtlasRepairIndex tool, the doc does not capture it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • atlas-webui
    • None

    Description

      https://atlas.apache.org/2.0.0/AtlasRepairIndex.html

      It has the steps for a regular cluster. 
      While following the same, the following error is seen

      https://issues.apache.org/jira/browse/ATLAS-4558 captures the code changes that are required, created this for DOC update

      WARNING: Illegal reflective access by org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase (file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.22612204/jars/atlas-graphdb-janus-2.1.0.7.1.7.1000-102.jar) to field java.lang.reflect.Field.modifiers
      WARNING: Please consider reporting this to the maintainers of org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      ERROR StatusLogger Reconfiguration failed: No configuration found for '46fbb2c1' at 'null' in 'null'
      Graph Initialized!
      Restoring: vertex_index
      Exception in thread "Thread-11" org.janusgraph.core.JanusGraphException: Could not restore Solr index
          at org.janusgraph.graphdb.olap.job.IndexRepairJob.workerIterationEnd(IndexRepairJob.java:239)
          at org.janusgraph.graphdb.olap.VertexJobConverter.workerIterationEnd(VertexJobConverter.java:90)
          at org.janusgraph.diskstorage.keycolumnvalue.scan.StandardScannerExecutor$Processor.run(StandardScannerExecutor.java:263)
      Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Could not restore Solr index
          at org.janusgraph.diskstorage.solr.Solr6Index.restore(Solr6Index.java:596)
          at org.janusgraph.diskstorage.indexing.IndexTransaction.restore(IndexTransaction.java:134)
          at org.janusgraph.graphdb.olap.job.IndexRepairJob.workerIterationEnd(IndexRepairJob.java:234)
          ... 2 more
      Caused by: org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: IOException occurred when talking to server at: https://quasar-tiuhte-5.quasar-tiuhte.root.hwx.site:8995/solr/vertex_index_shard1_replica_n1
          at org.apache.solr.client.solrj.impl.CloudSolrClient.getRouteException(CloudSolrClient.java:125)
          at org.apache.solr.client.solrj.impl.CloudSolrClient.getRouteException(CloudSolrClient.java:46)
          at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.directUpdate(BaseCloudSolrClient.java:559)
          at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1046)
          at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:906)
          at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:838)
          at org.janusgraph.diskstorage.solr.Solr6Index.commitChanges(Solr6Index.java:633)
          at org.janusgraph.diskstorage.solr.Solr6Index.restore(Solr6Index.java:593)
          ... 4 more
      Caused by: org.apache.solr.client.solrj.SolrServerException: IOException occurred when talking to server at: https://quasar-tiuhte-5.quasar-tiuhte.root.hwx.site:8995/solr/vertex_index_shard1_replica_n1
          at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:682)
          at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:265)
          at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
          at org.apache.solr.client.solrj.impl.LBSolrClient.doRequest(LBSolrClient.java:368)
          at org.apache.solr.client.solrj.impl.LBSolrClient.request(LBSolrClient.java:296)
          at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.lambda$directUpdate$0(BaseCloudSolrClient.java:533)
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:210)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
          at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
          at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
          at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:642)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:461)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:361)
          at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
          at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:448)
          at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:425)
          at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:178)
          at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
          at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
          at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
          at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
          at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436)
          at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
          at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
          at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
          at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
          at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
          at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
          at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
          at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
          at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
          at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
          at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
          at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:564)
          ... 10 more
      Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
          at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290)
          at java.base/sun.security.validator.Validator.validate(Validator.java:264)
          at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:321)
          at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:221)
          at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:626)
          ... 33 more
      Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
          at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
          at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
          at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
          ... 39 more 

      Looks like some cert is expected, and the steps may differ and the Doc needs an update

      Attachments

        Activity

          People

            Unassigned Unassigned
            dharshmk Dharshana M Krishnamoorthy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: