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

Aljoscha Krettek commented on FLINK-3400:
-----------------------------------------

I see two possibilities for solving this:

 - Move the utilities to a package that is always in the classpath anyways. 
Candidates would be {{flink-core}}, {{flink-runtime}} or 
{{flink-streaming-java}}. I would gravitate towards {{flink-streaming-java}} 
here.
 - Figure out how to get the path to the user-code jar/jars and add that to the 
classpath of the started external process. Are the user-code jars always 
available in a directory on the machine where a Task is running.

I think I'll go with option 1) move to {{flink-streaming-java}}. But what do 
others think?

> RocksDB Backend does not work when not in Flink lib folder
> ----------------------------------------------------------
>
>                 Key: FLINK-3400
>                 URL: https://issues.apache.org/jira/browse/FLINK-3400
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.0.0
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> The problem is that the external process runner cannot load the 
> {{HDFSCopyFromLocal}} and {{HDFSCopyToLocal}} classes when the rocksdb 
> backend jar is not in the Flink lib folder. If rocksdb is only in the 
> user-code jar the code cannot be loaded when trying to start the external 
> copy runners.



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

Reply via email to