yarn is part of hadoop script

This commit is contained in:
tqchen
2015-01-11 21:28:13 -08:00
parent a120edc56e
commit 6b651176a3
2 changed files with 2 additions and 6 deletions

View File

@@ -89,8 +89,7 @@ assert out[0] == 'Hadoop', 'cannot parse hadoop version string'
hadoop_version = out[1].split('.')
use_yarn = int(hadoop_version[0]) >= 2
if not use_yarn:
print 'Current Hadoop Version is %s' % out[1]
print 'Current Hadoop Version is %s' % out[1]
def hadoop_streaming(nworker, worker_args, use_yarn):
fset = set()