[ 
https://issues.apache.org/jira/browse/HDFS-13516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498358#comment-16498358
 ] 

Xiaoyu Yao commented on HDFS-13516:
-----------------------------------

RocksDB has Windows support for a while. The issue seems to be a know issue on 
non-Linux platform like the discussion 
[here|https://github.com/confluentinc/ksql/issues/1332]

{{The resolution is to ensure either one of the directory specified by 
}}{{java.io.tmpdir}}{{ system property or }}{{ROCKSDB_SHAREDLIB_DIR}}{{ 
environment variable}}{{ is writable by all users.}}

 

More detailed reason quoted from the discussion link above:

"As part of the startup process of RocksDB, it has to extract the C library 
before it can be used. The location to extract the C library is determined by 
the {{java.io.tmpdir}} system property or {{ROCKSDB_SHAREDLIB_DIR}} environment 
variable.

If this directory is not writable, then the user will see an error like {{Could 
not initialize class org.rocksdb.Option."}}

> Ozone: TestMetadataStore fails on Windows
> -----------------------------------------
>
>                 Key: HDFS-13516
>                 URL: https://issues.apache.org/jira/browse/HDFS-13516
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Íñigo Goiri
>            Priority: Major
>
> TestMetadataStore fails on Windows with the following error:
> java.lang.UnsatisfiedLinkError: 
> C:\Users\jenkins\AppData\Local\Temp\1\librocksdbjni4617805071197790179.dll: A 
> dynamic link library (DLL) initialization routine failed
> The report can be found 
> [here|https://builds.apache.org/job/hadoop-trunk-win/449/testReport/org.apache.hadoop.ozone/TestMetadataStore/].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to