raid.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <configuration>
  2. <srcPath prefix="hdfs://dfs1.xxx.com:8000/user/dhruba/">
  3. <policy name = "dhruba">
  4. <property>
  5. <name>srcReplication</name>
  6. <value>3</value>
  7. <description> pick files for RAID only if their replication factor is
  8. greater than or equal to this value.
  9. </description>
  10. </property>
  11. <property>
  12. <name>targetReplication</name>
  13. <value>2</value>
  14. <description> after RAIDing, decrease the replication factor of a file to
  15. this value.
  16. </description>
  17. </property>
  18. <property>
  19. <name>metaReplication</name>
  20. <value>2</value>
  21. <description> the replication factor of the RAID meta file
  22. </description>
  23. </property>
  24. <property>
  25. <name>modTimePeriod</name>
  26. <value>3600000</value>
  27. <description> time (milliseconds) after a file is modified to make it a
  28. candidate for RAIDing
  29. </description>
  30. </property>
  31. </policy>
  32. </srcPath>
  33. <srcPath prefix="hdfs://dfs1.xxx.com:9000/warehouse/table1">
  34. <policy name = "table1">
  35. <property>
  36. <name>targetReplication</name>
  37. <value>1</value>
  38. <description> after RAIDing, decrease the replication factor of a file to
  39. this value.
  40. </description>
  41. </property>
  42. <property>
  43. <name>metaReplication</name>
  44. <value>2</value>
  45. <description> the replication factor of the RAID meta file
  46. </description>
  47. </property>
  48. <property>
  49. <name>modTimePeriod</name>
  50. <value>3600000</value>
  51. <description> time (milliseconds) after a file is modified to make it a
  52. candidate for RAIDing
  53. </description>
  54. </property>
  55. </policy>
  56. </srcPath>
  57. </configuration>