Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-991

HadoopPipes.cc doesn't compile cleanly with SunStudio

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Attempting to compile HadoopPipes.cc throws the following warnings and errors:

           [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.
      

        Activity

        Hide
        Allen Wittenauer added a comment -

        Hadoop is not focused on portability.

        Show
        Allen Wittenauer added a comment - Hadoop is not focused on portability.

          People

          • Assignee:
            Unassigned
            Reporter:
            Allen Wittenauer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development