Zhankun Tang created YARN-8997:
----------------------------------
Summary: [Submarine] Simplify the logic in
YarnServiceJobSubmitter#needHdfs
Key: YARN-8997
URL: https://issues.apache.org/jira/browse/YARN-8997
Project: Hadoop YARN
Issue Type: Improvement
Environment: In YarnServiceJobSubmitter#needHdfs. Below code can be
simplified to just one line.
{code:java}
if (content != null && content.contains("hdfs://")) {
return true;
}
return false;{code}
{code:java}
return content != null && content.contains("hdfs://");{code}
Reporter: Zhankun Tang
Assignee: Zhankun Tang
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]