You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2014/03/05 23:02:43 UTC

[jira] [Created] (HBASE-10685) [WINDOWS] TestKeyStoreKeyProvider fails on windows

Enis Soztutar created HBASE-10685:
-------------------------------------

             Summary: [WINDOWS] TestKeyStoreKeyProvider fails on windows
                 Key: HBASE-10685
                 URL: https://issues.apache.org/jira/browse/HBASE-10685
             Project: HBase
          Issue Type: Bug
          Components: test
            Reporter: Enis Soztutar
            Assignee: Enis Soztutar
            Priority: Minor
             Fix For: 0.98.1, 0.99.0


Fails because of lack of URI escaping:
{code}
java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in authority at index 8: jceks://D:\w\hbbk\hbase-common\target\test-data\78c21f3c-80a6-4cd7-9706-0098a1d33496\keystore.jks?passwordFile=D%3A%5Cw%5Chbbk%5Chbase-common%5Ctarget%5Ctest-data%5C78c21f3c-80a6-4cd7-9706-0098a1d33496%5Ckeystore.pw
	at org.apache.hadoop.hbase.io.crypto.KeyStoreKeyProvider.init(KeyStoreKeyProvider.java:149)
	at org.apache.hadoop.hbase.io.crypto.TestKeyStoreKeyProvider.testKeyStoreKeyProviderWithPasswordFile(TestKeyStoreKeyProvider.java:100)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
Caused by: java.net.URISyntaxException: Illegal character in authority at index 8: jceks://D:\w\hbbk\hbase-common\target\test-data\78c21f3c-80a6-4cd7-9706-0098a1d33496\keystore.jks?passwordFile=D%3A%5Cw%5Chbbk%5Chbase-common%5Ctarget%5Ctest-data%5C78c21f3c-80a6-4cd7-9706-0098a1d33496%5Ckeystore.pw
	at java.net.URI$Parser.fail(URI.java:2810)
	at java.net.URI$Parser.parseAuthority(URI.java:3148)
	at java.net.URI$Parser.parseHierarchical(URI.java:3059)
	at java.net.URI$Parser.parse(URI.java:3015)
	at java.net.URI.<init>(URI.java:577)
	at org.apache.hadoop.hbase.io.crypto.KeyStoreKeyProvider.init(KeyStoreKeyProvider.java:139)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)