revert file back to previous. remove spark version check for schema file detection
@@ -236,10 +236,7 @@ then
fi
echo "using NiFi profile: \${KYLO_NIFI_PROFILE}"
-SPARK_PROFILE="v"$(spark-shell --version 2>&1 | grep -o "version [0-9]" | grep -o "[0-9]" | head -1)
-echo "using spark: \${SPARK_PROFILE}"
-
-java \$KYLO_SERVICES_OPTS \$KYLO_SPRING_PROFILES_OPTS -Dspark.version=\${SPARK_PROFILE} -cp $INSTALL_HOME/kylo-services/conf:$INSTALL_HOME/kylo-services/lib/*:$INSTALL_HOME/kylo-services/lib/\${KYLO_NIFI_PROFILE}/*:$INSTALL_HOME/kylo-services/plugin/* com.thinkbiganalytics.server.KyloServerApplication --pgrep-marker=$pgrepMarkerKyloServices > $LOG_DIRECTORY_LOCATION/kylo-services/std.out 2>$LOG_DIRECTORY_LOCATION/kylo-services/std.err &
+java \$KYLO_SERVICES_OPTS \$KYLO_SPRING_PROFILES_OPTS -cp $INSTALL_HOME/kylo-services/conf:$INSTALL_HOME/kylo-services/lib/*:$INSTALL_HOME/kylo-services/lib/\${KYLO_NIFI_PROFILE}/*:$INSTALL_HOME/kylo-services/plugin/* com.thinkbiganalytics.server.KyloServerApplication --pgrep-marker=$pgrepMarkerKyloServices > $LOG_DIRECTORY_LOCATION/kylo-services/std.out 2>$LOG_DIRECTORY_LOCATION/kylo-services/std.err &
EOF
cat << EOF > $INSTALL_HOME/kylo-services/bin/run-kylo-services-with-debug.sh
#!/bin/bash
@@ -259,11 +256,7 @@ then
KYLO_NIFI_PROFILE="nifi-v1.2"
fi
echo "using NiFi profile: \${KYLO_NIFI_PROFILE}"
-
-SPARK_PROFILE="v"$(spark-shell --version 2>&1 | grep -o "version [0-9]" | grep -o "[0-9]" | head -1)
-echo "using spark: \${SPARK_PROFILE}"
-
-java \$KYLO_SERVICES_OPTS \$JAVA_DEBUG_OPTS -Dspark.version=\${SPARK_PROFILE} -cp $INSTALL_HOME/kylo-services/conf:$INSTALL_HOME/kylo-services/lib/*:$INSTALL_HOME/kylo-services/lib/\${KYLO_NIFI_PROFILE}/*:$INSTALL_HOME/kylo-services/plugin/* com.thinkbiganalytics.server.KyloServerApplication --pgrep-marker=$pgrepMarkerKyloServices > $LOG_DIRECTORY_LOCATION/kylo-services/std.out 2>$LOG_DIRECTORY_LOCATION/kylo-services/std.err &
+java \$KYLO_SERVICES_OPTS \$JAVA_DEBUG_OPTS -cp $INSTALL_HOME/kylo-services/conf:$INSTALL_HOME/kylo-services/lib/*:$INSTALL_HOME/kylo-services/lib/\${KYLO_NIFI_PROFILE}/*:$INSTALL_HOME/kylo-services/plugin/* com.thinkbiganalytics.server.KyloServerApplication --pgrep-marker=$pgrepMarkerKyloServices > $LOG_DIRECTORY_LOCATION/kylo-services/std.out 2>$LOG_DIRECTORY_LOCATION/kylo-services/std.err &
EOF
chmod +x $INSTALL_HOME/kylo-services/bin/run-kylo-services.sh
chmod +x $INSTALL_HOME/kylo-services/bin/run-kylo-services-with-debug.sh
