Bug 1141348 - [RFE] add ability to define the default volume in enable_vol.sh
Summary: [RFE] add ability to define the default volume in enable_vol.sh
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhs-hadoop-install
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Release Candidate
: ---
Assignee: Jeff Vance
QA Contact: Daniel Horák
URL:
Whiteboard:
: 1151207 (view as bug list)
Depends On:
Blocks: 1159155
TreeView+ depends on / blocked
 
Reported: 2014-09-12 18:26 UTC by Jeff Vance
Modified: 2014-12-02 01:57 UTC (History)
8 users (show)

Fixed In Version: 2.17-1
Doc Type: Enhancement
Doc Text:
Previously, the default volume for Hadoop was not defined in enable_vol.sh. Now, with this release, specifying "--make-default" in enable_vol.sh enables the specified volume to be the default volume for Hadoop.
Clone Of:
Environment:
Last Closed: 2014-11-24 11:55:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1275 0 normal SHIPPED_LIVE Red Hat Storage Server 3 Hadoop plug-in enhancement update 2014-11-24 16:53:36 UTC

Description Jeff Vance 2014-09-12 18:26:01 UTC
Description of problem:
Today, enable_vol.sh prepends the volume name to the fs.glusterfs.volumes property of core-site.xml. This causes the just-enabled volume to become the default volume used for all unqualified URIs. bin/set_glusterdfs_uri.sh supports both prepending and appending a volume to this property value, so a new option should be added to enable_vol so the user can decide if the new;y enabled volume should be used as the default or not.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jeff Vance 2014-09-12 18:27:37 UTC
added --make-default to enable_vol.sh. When specified this causes the target volume to become the default volume. The default behavior is that the target volume will not be the default volume,

Comment 3 Jeff Vance 2014-10-09 19:48:57 UTC
*** Bug 1151207 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Horák 2014-11-03 10:19:41 UTC
Tested and verified on several clusters also with different scenarios and multiple Volumes.

# rpm -q rhs-hadoop-install
  rhs-hadoop-install-2_28-1.el6rhs.noarch

> VERIFIED

Comment 6 Divya 2014-11-14 08:29:10 UTC
Jeff,

Could you please provide the doc text in the Doc Text field for this bug?

Comment 7 Divya 2014-11-21 08:27:28 UTC
Jeff,

Could you please review the edited doc text for technical accuracy and sign-off?

Comment 8 errata-xmlrpc 2014-11-24 11:55:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2014-1275.html

Comment 9 Jeff Vance 2014-12-02 01:57:44 UTC
(In reply to Divya from comment #7)
> Jeff,
> 
> Could you please review the edited doc text for technical accuracy and
> sign-off?

done


Note You need to log in before you can comment on or make changes to this bug.