[
https://issues.apache.org/jira/browse/IMPALA-2029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon resolved IMPALA-2029.
---------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.3.0
> Impala in CDH 5.2.0 fails to compile with hadoop 2.7
> ----------------------------------------------------
>
> Key: IMPALA-2029
> URL: https://issues.apache.org/jira/browse/IMPALA-2029
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 2.2
> Environment: Red Hat 6.4 and gcc 4.3.4
> Reporter: Varun Saxena
> Assignee: Todd Lipcon
> Priority: Major
> Fix For: Impala 3.3.0
>
>
> Compilation fails with below error message :
> ../../build/release/exec/libExec.a(hbase-table-scanner.cc.o): In function
> `impala::HBaseTableScanner::Init()':
> /usr1/code/Impala/code/current/impala/be/src/exec/hbase-table-scanner.cc:113:
> undefined reference to `getJNIEnv'
> ../../build/release/exprs/libExprs.a(hive-udf-call.cc.o):/usr1/code/Impala/code/current/impala/be/src/exprs/hive-udf-call.cc:227:
> more undefined references to `getJNIEnv' follow
> collect2: ld returned 1 exit status
> make[3]: *** [be/build/release/service/impalad] Error 1
> make[2]: *** [be/src/service/CMakeFiles/impalad.dir/all] Error 2
> make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2
> make: *** [impalad] Error 2
> Compiler Impala Failed, exit
> This issue is coming because libhdfs in hadoop 2.7.0 has made visibility of
> getJNIEnv() as hidden.
> But shouldn't Impala create its own JNIEnv ?
> These HBase related files seem to have no direct connection with libhdfs
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)