Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 9695 invoked from network); 29 Jun 2010 20:48:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jun 2010 20:48:15 -0000 Received: (qmail 83514 invoked by uid 500); 29 Jun 2010 20:48:15 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 83470 invoked by uid 500); 29 Jun 2010 20:48:14 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 83462 invoked by uid 99); 29 Jun 2010 20:48:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 20:48:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 20:48:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5TKlofr005584 for ; Tue, 29 Jun 2010 20:47:50 GMT Message-ID: <30534980.122171277844470401.JavaMail.jira@thor> Date: Tue, 29 Jun 2010 16:47:50 -0400 (EDT) From: "Konstantin Boudnik (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1882) Use Jsch instead of Shell.java In-Reply-To: <23665873.108411277120123544.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.