Shwetha G S created ATLAS-591:
---------------------------------

             Summary: Atlas client ssl configuration failure
                 Key: ATLAS-591
                 URL: https://issues.apache.org/jira/browse/ATLAS-591
             Project: Atlas
          Issue Type: Bug
            Reporter: Shwetha G S
             Fix For: 0.7-incubating


When server is not set-up with ssl, client shouldn't configure params for ssl
{noformat}
2016-03-23 13:59:35,013 DEBUG [main]: atlas.ApplicationProperties 
(ApplicationProperties.java:logConfiguration(86)) - atlas.enableTLS = false
2016-03-23 13:59:35,018 DEBUG [main]: atlas.ApplicationProperties 
(ApplicationProperties.java:logConfiguration(86)) - atlas.rest.address = 
http://localhost:21000

2016-03-23 13:59:35,420 DEBUG [Atlas Logger 0]: security.SecureClientUtils 
(SecureClientUtils.java:newConnConfigurator(138)) - Cannot load customized ssl 
related configuration. Fallback to system-generic settings.
java.io.FileNotFoundException: /etc/security/clientKeys/all.jks (No such file 
or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at 
org.apache.hadoop.security.ssl.ReloadingX509TrustManager.loadTrustManager(ReloadingX509TrustManager.java:164)
        at 
org.apache.hadoop.security.ssl.ReloadingX509TrustManager.<init>(ReloadingX509TrustManager.java:81)
        at 
org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory.init(FileBasedKeyStoresFactory.java:209)
        at org.apache.hadoop.security.ssl.SSLFactory.init(SSLFactory.java:131)
        at 
org.apache.atlas.security.SecureClientUtils.newSslConnConfigurator(SecureClientUtils.java:150)
        at 
org.apache.atlas.security.SecureClientUtils.newConnConfigurator(SecureClientUtils.java:136)
        at 
org.apache.atlas.security.SecureClientUtils.getClientConnectionHandler(SecureClientUtils.java:69)
        at org.apache.atlas.AtlasClient.<init>(AtlasClient.java:126)
        at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.<init>(HiveMetaStoreBridge.java:97)
        at org.apache.atlas.hive.hook.HiveHook.fireAndForget(HiveHook.java:195)
        at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:62)
        at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:181)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to