Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3786

build_native_library.sh could use more error checking

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.3, 1.7.0
    • Component/s: scripts
    • Labels:

      Description

      [accumulo@c6402 ~]$ JAVA_HOME=/usr/jdk64/jdk1.8.0_40/ /usr/hdp/2.3.0.0-1914/accumulo/bin/build_native_library.sh
      mkdir: cannot create directory `/usr/hdp/2.3.0.0-1914/accumulo/bin/../lib/native': Permission denied
      g++ -g -fPIC -shared -O3 -Wall -I/usr/jdk64/jdk1.8.0_40//include -I/usr/jdk64/jdk1.8.0_40//include/linux -Ijavah  -o libaccumulo.so nativeMap/org_apache_accumulo_tserver_NativeMap.cc
      cp: cannot create regular file `/usr/hdp/2.3.0.0-1914/accumulo/bin/../lib/native': Permission denied
      Successfully installed native library
      

      Got a few permission denied issues, but the script missed those and reported everything as fine which is wrong.

        Attachments

          Activity

            People

            • Assignee:
              ctubbsii Christopher Tubbs
              Reporter:
              elserj Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h