Composing a Shell Command¶
Use the command composer on the Analyze page to compose a shell command.
See Running a Shell Command for more information.
Qubole does not recommended running a Spark application as a Bash command under the Shell command options as automatic changes, such as increase in the Application Coordinator memory based on the driver memory and debug options’ availability, do not happen. Such automatic changes occur when you run a Spark application through the Command Line option.
Perform the following steps to compose a shell command:
Using the Supported Keyboard Shortcuts in Analyze describes the supported keyboard shortcuts.
- Navigate to the Analyze page and click Compose.
- Select Shell Command from the Command Type drop-down list.
- From the drop-down list, choose Bash Commands (default); or specify the location of a script in Cloud storage.
- To use a shell command, enter it into the text field. If you are using a script, specify script parameters, if any, in the text field.
- In the List of Files text field, optionally list files (separated by a comma) to be copied from Cloud storage to the working directory where the command is run.
- in the List of Archives text field, optionally list archive files (separated by a comma) to be uncompressed in the working directory where the command is run.
- Click Run to execute the query. Click Save if you want to re-run the same query later. (See Workspace for more information on saving queries.)
You can see the result under the Results tab, and the logs under the Logs tab. The Logs tab has the Errors and Warnings filter. For more information on how to download command results and logs, see Downloading Results and Logs.