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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        776d 18h 33m 1 Allen Wittenauer 02/Nov/11 17:49
        Allen Wittenauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Allen Wittenauer added a comment -

        Hadoop is not focused on portability.

        Show
        Allen Wittenauer added a comment - Hadoop is not focused on portability.
        Allen Wittenauer made changes -
        Field Original Value New Value
        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.
        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}
        Allen Wittenauer created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development