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

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

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

    https://github.com/apache/incubator-trafodion/pull/385#discussion_r56398777
  
    --- Diff: core/sqf/monitor/linux/pnode.cxx ---
    @@ -1528,6 +1528,14 @@ void CNodeContainer::AddNodes( )
         int pnid;
         int rank;
         int *sparePNids = NULL;
    +    
    +    //  only relevant on a workstation acting as a single node
    +    const char* envVar = getenv("SQ_MAX_RANK"); 
    +    int maxNode;
    +    if (envVar != NULL)
    +      maxNode = atoi (envVar);
    --- End diff --
    
    Again, I suppose SQ_MAX_RANK is a debugging tool, so we don't bother 
checking for non-numeric inputs such as might happen with "export 
SQ_MAX_RANK=ON" (where atoi would return 0 I think).


> Online node expansion
> ---------------------
>
>                 Key: TRAFODION-1885
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1885
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: foundation
>            Reporter: Trina Krug
>            Assignee: Trina Krug
>
> Need the ability to add nodes without an outage.



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

Reply via email to