Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FunctionInputOutputDescription
cdap_home
location of CDAPReturns the location of CDAP Home to STDOUT
cdap_get_confproperty name, file to read, default response (optional)value of property or default responseReturns 1 if property isn't found and no default is set
cdap_kinitCDAP_PRINCIPAL (optional), CDAP_KEYTAB (optional)
Initializes Kerberos ticket using variables or cdap-site.xml configuration
cdap_set_javaJAVA_HOME (optional)exports JAVASets location to java binary in JAVA variable, uses JAVA_HOME, if set
cdap_serviceservice, action, arguments (optional)
Executes the given service with the correct environment
cdap_start_java

Executes a CDAP Java service with the given environment
cdap_run_classclass name, arguments (optional)
Executes a non-service Java class with arguments using the CDAP Master environment
cdap_contextCDAP_HOMEcontextReturns the CDAP_HOME context (sdk or distributed) to STDOUT
cdap_versionCDAP_HOME, component (optional)versionReturns the CDAP_HOME version to STDOUT


CDAP 5.x

CDAP 5.x retains the CDAP 4.x scripts.  The only significant change is the removal of the "sdk" commands, which were deprecated in 4.2.  The reference tables above have been updated to reflect this.