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

build_native_library.sh could use more error checking

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.3, 1.7.0
    • scripts

    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

            ctubbsii Christopher Tubbs
            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