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

Manu Zhang commented on MAPREDUCE-6069:
---------------------------------------

thanks [~tlipcon] for the patch, but I've run into compile issues

{code}
     [exec] target/usr/local/lib/libnativetask.a(NativeObjectFactory.cc.o): In 
function 
`NativeTask::NativeObjectFactory::RegisterLibrary(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)':
     [exec] 
/home/zhangtianlun/git/hadoop-common/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/NativeObjectFactory.cc:268:
 undefined reference to `NativeTask::NativeLibrary::init()'
     [exec] target/usr/local/lib/libnativetask.a(NativeObjectFactory.cc.o): In 
function `NativeTask::NativeObjectFactory::GetFunction(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)':
     [exec] 
/home/zhangtianlun/git/hadoop-common/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/NativeObjectFactory.cc:237:
 undefined reference to 
`NativeTask::NativeLibrary::getFunction(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)'
     [exec] collect2: ld returned 1 exit status
     [exec] make[2]: *** [test/nttest] Error 1
     [exec] make[1]: *** [CMakeFiles/nttest.dir/all] Error 2
     [exec] make: *** [all] Error 2
{code}



> native-task: Style fixups and dead code removal
> -----------------------------------------------
>
>                 Key: MAPREDUCE-6069
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6069
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: task
>            Reporter: Todd Lipcon
>         Attachments: mr-6069.txt
>
>
> A few more cleanup things we should address:
> - fix style issues (eg lines too long, bad indentation, commented-out code 
> blocks, etc) both in Java and C++
> - Found a few pieces of unused code by running a coverage tool. We should 
> remove them



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

Reply via email to