ssh-customwrapper is a Virtual DataPort custom wrapper which uses the secure shell protocol to connect to a remote computer and execute a command.
The motivation behind the ssh-customwrapper is in the Denodo connectors that integrate the Denodo Platform with Big Data solutions like Apache Hadoop:
Denodo Platform and Hadoop
Implemented by class com.denodo.connect.ssh.SSHWrapper.
The base views created from the SSHWrapper need the following mandatory parameters:
One optional parameter:
There are also two parameters that are mutually exclusive:
Base view edition to connect to Hadoop in a VM and execute a MapReduce job
The base views created from the SSHWrapper have the following schema:
Exit Value |
Exit Status |
0 |
Success |
Non-zero |
Failure |
2 |
Incorrect usage |
126 |
Not an executable |
127 |
Command not found |
Tip for exit value 127: Make sure that ssh-customwrapper can find the command on the remote server. You may need to add path to the command to PATH environment variable. Also make sure that the startup script that sets PATH is actually executed for non-interactive sessions.
View schema
The execution of the wrapper returns the result of the command execution.
View results