Github user lavjain commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/1303#discussion_r146359219 --- Diff: pxf/pxf-service/src/scripts/pxf-service --- @@ -206,24 +213,13 @@ function doInit() echo WARNING: instance already exists in $instance_root, nothing to do... return 0 fi - # Generate private classpath file only if user specified hadoop_home option - # Otherwise use default file - if [ ! -z $hadoop_home ]; then - generatePrivateClasspath || return 1 - else - if [ ! -z $hbase_home ]; then - echo WARNING: hbase_home option will be ignored, please specify hadoop_home - fi - if [ ! -z $hive_home ]; then - echo WARNING: hive_home option will be ignored, please specify hadoop_home - fi - fi + determineHadoopDistro --- End diff -- Indentation (minor)
---