hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 정재부 <itsjb.j...@samsung.com>
Subject is it possible to run a executable jar with ClientAPI?
Date Fri, 23 Aug 2013 04:07:31 GMT
<html><head><title>Samsung Enterprise Portal mySingle</title>
<meta content="text/html; charset=euc-kr" http-equiv="Content-Type">
<style id="mysingle_style" type="text/css">P {
	MARGIN-TOP: 5px; FONT-FAMILY: 굴림체, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
	MARGIN-TOP: 5px; FONT-FAMILY: 굴림체, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
	MARGIN-TOP: 5px; FONT-FAMILY: 굴림체, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
	LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: 굴림체, arial; FONT-SIZE: 9pt
}
</style>

<meta name="GENERATOR" content="ActiveSquare">
</head><body>
<p>I&nbsp;commonly make a executable jar package with a main method and run&nbsp;by
the&nbsp;commandline "hadoop jar Some.jar ClassWithMain input output"</p>
<p>In this main method, Job and Configuration may be configured and Configuration class
has a setter to&nbsp;specify mapper or&nbsp;reducer class like conf.setMapperClass(Mapper.class).</p>
<p>However, In the case of submitting job remotely, I should set jar and Mapper or more
classes to use hadoop client api.</p>
<p>I want to programmatically transfer jar in client&nbsp;to remote hadoop cluster
and execute this jar like "hadoop jar" command to make main method specify mapper and reducer.</p>
<p>So how can I&nbsp;deal with&nbsp;this problem?</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></body></html><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=7f7f42b98def448e3ad3cd4b150b75ac8def2d033c9bcad0fc144f529aba3c5ce0b28e606fa8863f5fe2c2f64676e720f4bcdeced46ed5ee08cece8541bc14eacf878f9a26ce15a0'
border=0 width=0 height=0 style='display:none'>
Mime
View raw message