Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/574#discussion_r77395469
  
    --- Diff: distribution/src/resources/drill-config.sh ---
    @@ -366,11 +366,18 @@ if [ $? -eq 0 ]; then
       fatal_error "Java 1.7 or later is required to run Apache Drill."
     fi
     
    +# Create Drill local udf area, if it does not exist
    +DRILL_UDF_DIR="$DRILL_HOME/udf"
    +if [[ ! -d "$DRILL_UDF_DIR" ]]; then
    +  mkdir -p "$DRILL_UDF_DIR"
    +fi
    +
     # Adjust paths for CYGWIN
     if $is_cygwin; then
       DRILL_HOME=`cygpath -w "$DRILL_HOME"`
       DRILL_CONF_DIR=`cygpath -w "$DRILL_CONF_DIR"`
       DRILL_LOG_DIR=`cygpath -w "$DRILL_LOG_DIR"`
    +  DRILL_UDF_DIR=`cygpath -w "$DRILL_UDF_DIR"`
    --- End diff --
    
    Do this only if a DRILL_UDF_DIR exists. Actually, not sure if this is even 
needed if we compute $DRILL_UDF_DIR as $DRILL_CONF_DIR/udf.


---
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