Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1391

s390x support for HWCRC32c

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.0-incubating
    • Component/s: libhdfs
    • Labels:
      None

      Description

      Hi ,

      I am in progress building Apache - HAWQ on s390x
      following instruction on
      https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install

      I am in the build stage i notice that during the build i encounter
      undefined reference to vtable for Hdfs::Internal::HWCrc32c

      On further debugging i observed that libhdfs3/src/common/HWCRC32c.cpp has not support for s390x.

      My questions are as follows.

      1) I want to confirm whether does this check happens as part of unit testing of libhdfs3?

      2) if yes to 1 whether this test is specific to SSE based platforms ?

      3) can we exactly get some information on what this check does>?

      4) Is HAWQ source supported on SSE based platforms only ?

      Help would be appreciated.

      Adding Log for reference.

      **************************************************

      make[3]: Leaving directory `//incubator-hawq/src/backend/cdb'
      g++ O3 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -I/usr/include/libxml2 -L../../src/port -L../../src/port -Wl,as-needed -L/scratch/ecos0013/ketan/incubator-hawq/depends/libhdfs3/build/install/usr/local/hawq/lib -L/scratch/ecos0013/ketan/incubator-hawq/depends/libyarn/build/install/usr/local/hawq/lib -Wl,-rpath,'/usr/local/hawq/lib',-enable-new-dtags -Wl,-E access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o foreign/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o gp_libpq_fe/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o resourcemanager/SUBSYS.o ../../src/timezone/SUBSYS.o cdb/SUBSYS.o ../../src/port/libpgport_srv.a -lprotobuf -lboost_system -lboost_date_time -lstdc++ -lhdfs3 -lgsasl -lxml2 -ljson-c -levent -lyaml -lsnappy -lbz2 -lrt -lz -lcrypt -ldl -lm -lcurl -lyarn -lkrb5 -lpthread -lthrift -lsnappy -o postgres
      /scratch/ecos0013/ketan/incubator-hawq/depends/libhdfs3/build/install/usr/local/hawq/lib/libhdfs3.so: undefined reference to `Hdfs::Internal::HWCrc32c::available()'
      /scratch/ecos0013/ketan/incubator-hawq/depends/libhdfs3/build/install/usr/local/hawq/lib/libhdfs3.so: undefined reference to `vtable for Hdfs::Internal::HWCrc32c'
      collect2: error: ld returned 1 exit status
      make[2]: *** [postgres] Error 1
      make[2]: Leaving directory `incubator-hawq/src/backend'
      make[1]: *** [all] Error 2
      make[1]: Leaving directory `/incubator-hawq/src'
      make: *** [all] Error 2
      ******************************************************************************
      Regards
      Ketan

        Attachments

          Activity

            People

            • Assignee:
              espino Ed Espino
              Reporter:
              ketank ketan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: