hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1882) Use Jsch instead of Shell.java
Date Tue, 29 Jun 2010 20:47:50 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883691#action_12883691
] 

Konstantin Boudnik commented on MAPREDUCE-1882:
-----------------------------------------------

- The functionality seems to be common for MR and HDFS. Shall it be moved to Common instead?
- This 
{noformat}
+    jsch.setKnownHosts("/homes/" + user + "/.ssh/known_hosts");
{noformat}
is questionable. 
- This one won't work if RSA identities are in use:
{noformat}
+    jsch.addIdentity("/homes/" + user + "/.ssh/id_dsa");
{noformat}
- Where Jsch will be coming from? Ivy dependency resolution needs to be added as well. 

> Use Jsch instead of Shell.java 
> -------------------------------
>
>                 Key: MAPREDUCE-1882
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1882
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: test
>         Environment: herriot framework 
>            Reporter: Balaji Rajagopalan
>            Assignee: Iyappan Srinivasan
>         Attachments: RemoteExecution.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In herriot ( hadoop system test case dev) we often find that we are resorted to habit
of ssh to remote node execute a shell command, and come out. It is wise to use Jsch instead
of doing this through Shell.java ( hadoop code), since Jsch provides nice Java abstraction,
the JIRA will only close after we import Jsch input hadoop build system and also fix all the
existing test cases. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message