public final class HadoopRemoteAcceptor extends Object implements RemoteAcceptor
RESULT
Constructor and Description |
---|
HadoopRemoteAcceptor(Groovysh shell) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Object |
configure(List<String> args)
Gets called when
:remote is used in conjunction with the config option. |
Object |
connect(List<String> args)
Gets called when
:remote is used in conjunction with the "connect" option. |
Object |
submit(List<String> args)
Gets called when
:submit is executed. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getScript
public Object connect(List<String> args) throws RemoteException
RemoteAcceptor
:remote
is used in conjunction with the "connect" option. It is up to the
implementation to decide how additional arguments on the line should be treated after "connect".connect
in interface RemoteAcceptor
RemoteException
- if there is a problem with connectingpublic Object configure(List<String> args) throws RemoteException
RemoteAcceptor
:remote
is used in conjunction with the config
option. It is up to the
implementation to decide how additional arguments on the line should be treated after config
.configure
in interface RemoteAcceptor
RemoteException
- if there is a problem with configurationpublic Object submit(List<String> args) throws RemoteException
RemoteAcceptor
:submit
is executed. It is up to the implementation to decide how additional
arguments on the line should be treated after :submit
.submit
in interface RemoteAcceptor
RemoteException
- if there is a problem with submissionpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.