You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dhruv Mahajan (JIRA)" <ji...@apache.org> on 2015/12/15 09:01:46 UTC

[jira] [Created] (REEF-1081) Improved Logging in HDFSCommandRunner

Dhruv Mahajan created REEF-1081:
-----------------------------------

             Summary: Improved Logging in HDFSCommandRunner
                 Key: REEF-1081
                 URL: https://issues.apache.org/jira/browse/REEF-1081
             Project: REEF
          Issue Type: Improvement
          Components: REEF.NET IO
    Affects Versions: 0.14
         Environment: C#
            Reporter: Dhruv Mahajan
            Assignee: Dhruv Mahajan
             Fix For: 0.14


Currently in {{HdfsCommandRunner}}, the function {{ LogCommandOutput(CommandResult result)}} logs the output generated when the command is executed in {{internal CommandResult Run(string hdfsCommandLineArguments)}}. However, in the current code we just check whether result is null or not and then just terminate if result exists. However, we never log or check the exit variable. If it is zero we should declare operation to be success otherwise keep trying. Infact, result will never be null. the code is pasted below for reference also. 

The main aim of JIRA is to introduce more elaborate logging and checking in the {{Run}} function. Specifically, we would like to check the exit message and then write appropriate messages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)