[
https://issues.apache.org/jira/browse/MAPREDUCE-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved MAPREDUCE-991.
----------------------------------------
Resolution: Won't Fix
Hadoop is not focused on portability.
> HadoopPipes.cc doesn't compile cleanly with SunStudio
> -----------------------------------------------------
>
> Key: MAPREDUCE-991
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-991
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Allen Wittenauer
>
> Attempting to compile HadoopPipes.cc throws the following warnings and errors:
> {noformat}
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 663: Warning: protocol hides HadoopPipes::TaskContextImpl::protocol.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 844: Warning: status hides HadoopPipes::TaskContextImpl::status.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 871: Warning: key hides HadoopPipes::TaskContextImpl::key.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 871: Warning: value hides HadoopPipes::TaskContextImpl::value.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 943: Error: The function "sleep" must have a prototype.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 961: Error: The function "close" must have a prototype.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 1037: Warning (Anachronism): Formal argument 3 of type extern "C"
> void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*,
> extern "C" void*(*)(void*), void*) is being passed void*(*)(void*).
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 1057: Error: The function "close" must have a prototype.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira