Github user ctubbsii commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/227#discussion_r104252001
  
    --- Diff: assemble/conf/templates/accumulo-env.sh ---
    @@ -72,14 +82,13 @@ export JAVA_OPTS
     ############################
     
     export MALLOC_ARENA_MAX=${MALLOC_ARENA_MAX:-1}
    +## Add Hadoop native libraries to shared library paths for Linux & Mac
    +export LD_LIBRARY_PATH="${HADOOP_PREFIX}/lib/native:${LD_LIBRARY_PATH}"    
 # For Linux
    --- End diff --
    
    Could put this in a conditional:
    
    ```bash
    case "$(uname)" in
      Darwin)
        export 
DYLD_LIBRARY_PATH="${HADOOP_PREFIX}/lib/native:${DYLD_LIBRARY_PATH}"
      ;;
      *)
        export LD_LIBRARY_PATH="${HADOOP_PREFIX}/lib/native:${LD_LIBRARY_PATH}"
      ;;
    esac
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to