[ 
https://issues.apache.org/jira/browse/TRAFODION-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570956#comment-16570956
 ] 

ASF GitHub Bot commented on TRAFODION-3163:
-------------------------------------------

Github user traflm commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1679#discussion_r208065409
  
    --- Diff: core/sqf/src/tm/tools/dtmci.cpp ---
    @@ -1801,6 +1801,20 @@ int main(int argc, char *argv[])
                         << "' for status command." << endl;
                 }
             }
    +        else if (!strcmp(lp_nextcmd, "showenv"))
    +        {
    +           get_cmd(lp_inputstr, lp_nextcmd);
    +           if (lp_nextcmd[0] == '\0')
    +             cout <<"TODO: show all env var\n" << endl;
    +           else
    +           {
    +              const char* v = ms_getenv_str((const char*)lp_nextcmd);
    +              if(v == NULL)
    +                cout <<"*** Enviorement Var not exist" << endl;
    --- End diff --
    
    thanks Dave, I will change this typo


> add tools for trouble-shooting
> ------------------------------
>
>                 Key: TRAFODION-3163
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3163
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: liu ming
>            Assignee: liu ming
>            Priority: Major
>
> This will be an umbrella JIRA, from this JIRA, I will add a script to check 
> the health of STFS.
> I suggest we can add more tools from the field experience and enhance the 
> trouble-shooting capability of Trafodion.
>  
> For this case, we found SQL run into error, but the error message didn't tell 
> anything about STFS. After a long time debugging, it turns out STFS 
> configuration is wrong.
>  
> So I want to add a tool to check the STFS status.The tool is very simple, ssh 
> to each node, and for each STFS dir, touch a file, if not able to touch a 
> file, report error.
>  
> If we meet some other useful trouble shooting cases, and it will good to put 
> a tool, so we can have a tool-set to run to help debug real issues.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to