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

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

GitHub user sandhyasun opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/647

    [TRAFODION-2146] Use of CQD to set scratch directory locations

    Scratchfile creation cleanup and new code to use CQD SCRATCH_DISKS to 
specify scratch disk locations for overflow. Removed references to NSK volume 
patterns and validation routines that expected volume/subvolume format. Added 
new validation code for linux path names.
    
    Cleaned up and removed STFS_LOCATION envvar usage from ms.env and STFS 
layer.
    Added a  new method that can be called to tell STFS to honor the CQD 
specification over the envvar specification.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sandhyasun/incubator-trafodion sort_scratch

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/647.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #647
    
----
commit 8fa07cdcbc4318706cc812ae891729ee1e52f911
Author: Sandhya Sundaresan <[email protected]>
Date:   2016-08-08T21:31:40Z

    Scratchfile creation cleanup and new code to use CQD SCRATCH_DISKS to 
specify scratch disk locations for overflow. Removed references to NSK volume 
patterns and validation routines that expected volume/subvolume format. Added 
new validation code for linux path names.
    Cleaned up and removed STFS_LOCATION envvar usage from ms.env and STFS 
layer.
    Added a  new method that can be called to tell STFS to honor the CQD 
specification over the envvar specification.

----


> Use of CQD to set scratch directory locations
> ---------------------------------------------
>
>                 Key: TRAFODION-2146
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2146
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: foundation, sql-exe
>            Reporter: Sandhya Sundaresan
>            Assignee: Sandhya Sundaresan
>
> Allow a CQD specification to override the env settings for STFS locations.
> Currently the scratch directory locations and set at installtion time . The 
> STFS layer that manages the scratch file creation reads the envvar in ms.env 
> to determine where to create the scratch files.
> Now we allow a CQD to be specified that will override the envvar setting. If 
> the CQD is not set (empty) , the envvar setting will work. This will give the 
> user some flexibility to change scratch directory locations. The requirement 
> is that the directoryies MUST exists on every node and that Trafodion user 
> will need permissions to write to those directories. If not an error will be 
> returned when a query invliving sort/hash overflow is executed. . 



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

Reply via email to