You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Bharath Krishna (Jira)" <ji...@apache.org> on 2022/07/26 07:04:00 UTC

[jira] [Updated] (GOBBLIN-1671) ClassNotFoundException for class dependency in external jar while running Gobblin with mapreduce mode

     [ https://issues.apache.org/jira/browse/GOBBLIN-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bharath Krishna updated GOBBLIN-1671:
-------------------------------------
    Description: 
Faced issue while trying to upgrade from Gobblin {{0.14}} to {{0.16.}}
We have a 'Gobblin consumer' jar, which contains some consumer/job implementations.
We pass the consumer jar along with some other jars through the {{--jars}}  field in gobblin.sh MapReduce mode ([https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L129])

 

It is noticed that the Gobblin runs fail with ClassNotFoundException, not able to find the classes from the consumer jar, although it is present in the {{libjars}} as well as the {{HADOOP_CLASSPATH}}

One workaround for this is to copy the custom jar onto [GOBBLIN_LIB|https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L30], although this does not seem correct as the consumer jar should have been already included through  {{--jars.}}

  was:
Faced issue while trying to upgrade from Gobblin {{0.14}} to {{0.16.}}
We have a 'Gobblin consumer' jar, which contains some consumer/job implementations.
We pass the consumer jar along with some other jars through the {{--jars}}  field in gobblin.sh MapReduce mode ([https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L129])

 

It is noticed that the Gobblin runs fail with ClassNotFoundException, not able to find the classes from the consumer jar, although it is present in the {{libjars}} as well as the {{HADOOP_CLASSPATH}}

{{}}
One workaround for this is to copy the custom jar onto [GOBBLIN_LIB|https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L30], although this does not seem correct as the consumer jar should have been already included through  {{--jars.}}


> ClassNotFoundException for class dependency in external jar while running Gobblin with mapreduce mode
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-1671
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1671
>             Project: Apache Gobblin
>          Issue Type: Bug
>    Affects Versions: 0.16.0
>            Reporter: Bharath Krishna
>            Priority: Major
>
> Faced issue while trying to upgrade from Gobblin {{0.14}} to {{0.16.}}
> We have a 'Gobblin consumer' jar, which contains some consumer/job implementations.
> We pass the consumer jar along with some other jars through the {{--jars}}  field in gobblin.sh MapReduce mode ([https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L129])
>  
> It is noticed that the Gobblin runs fail with ClassNotFoundException, not able to find the classes from the consumer jar, although it is present in the {{libjars}} as well as the {{HADOOP_CLASSPATH}}
> One workaround for this is to copy the custom jar onto [GOBBLIN_LIB|https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L30], although this does not seem correct as the consumer jar should have been already included through  {{--jars.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)