Uploaded image for project: 'Hivemall'
  1. Hivemall
  2. HIVEMALL-28

Failed to copying ./lib/libxgboost4j.* due to unbound variable HIVEMALL_HOME

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Labels:
      None

      Description

      Build command:

      mvn clean package  -Pcompile-xgboost
      

      Exception:

      cp: cannot create regular file `./xgboost/src/main/resources/lib/': No such file or directory
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache Hivemall .................................... FAILURE [02:37 min]
      [INFO] Hivemall Core ...................................... SKIPPED
      [INFO] Hivemall NLP ....................................... SKIPPED
      [INFO] Hivemall XGBoost Integration ....................... SKIPPED
      [INFO] Hivemall Mix Server ................................ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 02:38 min
      [INFO] Finished at: 2017-01-19T17:35:51+08:00
      [INFO] Final Memory: 12M/300M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (native) on project hivemall: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

      The reason is that the path is not correct when cp ./lib/libxgboost4j.* "$HIVEMALL_LIB_DIR" .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maropu Takeshi Yamamuro
                Reporter:
                yumwang Yuming Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: