[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2013-03-07 Thread John Meza (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13596859#comment-13596859
 ] 

John Meza commented on HDFS-1564:
-

I think dfs.datanode.du.pct works well for heterogeneous disks, especially when 
the disks have a wide range of capacities.  When disk capacities are the same 
or very close dfs.datanode.du.pct or dfs.datanode.du.reserved would work.  

Neither solve my needs well. I have an 8 DN cluster used for performance 
testing. On occasion I need some or all of these machines for other tasks. It 
would be great if could reserve 300Gb on a couple of disks. Not all of the 
disks, just a couple. 

Maintaining  a comma-list can lead to mistakes, especially for DNs with more 
than a couple of disks. To simplify this identify reserve for specific disks, 
all others default to a value.
For example, a DN with 8 disks: /fs1,/fs2,../fs8.

namedfs.datanode.du.reserved/name
   value10737418240, /fs1/dfs/dn:322122547200, 
/fs2/dfs/dn:322122547200/value

This reserves /fs1=300Gb, /fs2=300Gb, all others default=10Gb


 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: datanode
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2012-09-10 Thread Assaf Yardeni (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13451855#comment-13451855
 ] 

Assaf Yardeni commented on HDFS-1564:
-

Hello,
In my use-case having the dfs.datanode.du.pct reintroduce will be great. We 
have different disk sizes on our DNs.
I don't think it makes sense to have multiple entries (per disk), that doesn't 
scale in terms of operations.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2012-09-10 Thread Harsh J (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13451906#comment-13451906
 ] 

Harsh J commented on HDFS-1564:
---

Seems like there's still much demand for having a du.pct approach over a 
byte-based approach. Anyone willing to provide up a patch for this? I can help 
review and add.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2012-06-02 Thread Prashant Kommireddi (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13288019#comment-13288019
 ] 

Prashant Kommireddi commented on HDFS-1564:
---

Wouldn't dfs.datanode.du.pct make sense at the node level, at least? Consider 
the case when one adds new hardware to the cluster and chooses machines with a 
different disk capacity compared to current hardware. Current way of using 
dfs.datanode.du.reserved will make it hard to say, reserve 5% for non-dfs use.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2012-01-07 Thread Harsh J (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13182009#comment-13182009
 ] 

Harsh J commented on HDFS-1564:
---

I wonder if this still makes sense to have, and if we should just close it and 
keep the existing behavior which seems to work well enough for many users (Not 
many seem to seek nor complain over this).

Rita's way would incur too many configuration additions, considering that we 
have DNs today with 8-12 disks or even more. Having a comma-list of 
reservations is also expensive (and confusing) to maintain, and an admin can 
easily make mistakes when adding/removing volumes to the data dir set.

I propose that we close this as Won't Fix for now, until there is sufficient 
user-driven need again. I've simply not seen enough need for this, and setting 
a reserved value across disks also makes sense.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-10-28 Thread Rita M (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13138226#comment-13138226
 ] 

Rita M commented on HDFS-1564:
--

Interesting topic. I too have the same issue. 

Harsh, when setting the pct it seems hdfs still gobbles up more than the 
reserved data. I suspect its taking the entire data node and then reserving 1% 
not by volume wise. 



 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-10-28 Thread Harsh J (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13138233#comment-13138233
 ] 

Harsh J commented on HDFS-1564:
---

Rita,

The percentage opt was removed. It isn't valid anymore. But it used to apply 
per volume, and it will be if reintroduced as well.

The remaining action of discussion here is to decide if we should go with:

* Percentage opt, one value across all disks.
* Byte opt, one value per disk.

Or leave it as is, where one byte opt applies across all disks.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-10-28 Thread Rita M (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13138862#comment-13138862
 ] 

Rita M commented on HDFS-1564:
--

Harsh,

Definitely as Byte opt, one value per disk.

Here is how I would do the use case,

Define the partition

property
namedfs.data.dir.0/name
value/fs1/value
finaltrue/final
/property

!-- reserve 1% on /fs1 --
property
namedfs.data.dir.0.reservepct/name
value1/value
finaltrue/final
/property

Any thoughts about this? 

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-02-26 Thread mag (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12999804#comment-12999804
 ] 

mag  commented on HDFS-1564:


I was the reporter of this issue. Aaron relied my problem correctly. We have 
many heterogeneous disks ranging from 80GB to 2TB. We have filesystems layed 
out like this, /fs1, /fs2, /fs3, /fs4, etc... Each filesystem varies in size 
significantly therefore it would be nice to setup 'dfs.datanode.du.reserved' 
(or pct) by volume basis. 




 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-01-04 Thread Konstantin Shvachko (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12977473#action_12977473
 ] 

Konstantin Shvachko commented on HDFS-1564:
---

dfs.datanode.du.reserved is per volume. Here is the description from 
hdfs-default.xml:
{code}
property
  namedfs.datanode.du.reserved/name
  value0/value
  descriptionReserved space in bytes per volume. Always leave this much space 
free for non dfs use.
  /description
/property
{code}
Also if you look in the code the property is used in FSVolume, which 
corresponds to one volume.
Or do I miss what this is about?

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-01-04 Thread Aaron T. Myers (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12977488#action_12977488
 ] 

Aaron T. Myers commented on HDFS-1564:
--

My understanding is that the requester would like the ability to configure this 
*independently* per volume. e.g. configure 10GB reserved space for volume /fs1 
and 20GB reserved space for volume /fs2.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-01-04 Thread Konstantin Shvachko (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12977649#action_12977649
 ] 

Konstantin Shvachko commented on HDFS-1564:
---

The main discussion was in HADOOP-1463 with subsequent improvements in 
HADOOP-2816, HADOOP-2549.
We used to have {{dfs.datanode.du.pct}}, which defined a percent of reserved 
space per volume. This was originally intended for heterogeneous systems, but 
caused controversy or was not understood well, and was removed by HADOOP-4430.
I don't see any other way to address the different volumes issue but to 
reintroduce {{dfs.datanode.du.pct}}. If this is what the requester wants let 
him specify the exact meaning of the parameter and its relation to the existing 
ones.

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1564) Make dfs.datanode.du.reserved configurable per volume

2011-01-03 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12977106#action_12977106
 ] 

Allen Wittenauer commented on HDFS-1564:


This topic actually came up a few years ago in a JIRA, but I can't find the #. 
:(  

 Make dfs.datanode.du.reserved configurable per volume
 -

 Key: HDFS-1564
 URL: https://issues.apache.org/jira/browse/HDFS-1564
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: data-node
Reporter: Aaron T. Myers
Priority: Minor

 In clusters with DNs which have heterogeneous data dir volumes, it would be 
 nice if dfs.datanode.du.reserved could be configured per-volume.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.