You will need to set them up in the hdfs-site.xml. P.s. Their default is present in the hdfs-default.xml you linked to: http://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml#dfs.datanode.data.dir
On Sat, Aug 2, 2014 at 12:29 PM, arthur.hk.c...@gmail.com <arthur.hk.c...@gmail.com> wrote: > Hi, > > Both ”dfs.name.data.dir” and “dfs.datanode.data.dir” are not set in my > cluster. By the way I have searched around about these two parameters, I > cannot find them in Hadoop Default page. > http://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml > > Can you please advise where to set them and how to set them? in > hdfs-site.xml or in core-site.xml or another configuration file? > > Many thanks > Arthur > > On 29 Jul, 2014, at 1:27 am, hadoop hive <hadooph...@gmail.com> wrote: > > You need to add each disk inside "dfs.name.data.dir" parameter. > > On Jul 28, 2014 5:14 AM, "arthur.hk.c...@gmail.com" > <arthur.hk.c...@gmail.com> wrote: >> >> Hi, >> >> I have installed Hadoop 2.4.0 with 5 nodes, each node physically has 4T >> hard disk, when checking the configured capacity, I found it is about 49.22 >> GB per node, can anyone advise how to set bigger “configured capacity” e.g. >> 2T or more per node? >> >> Name node >> Configured Capacity: 264223436800 (246.08 GB) >> >> Each Datanode >> Configured Capacity: 52844687360 (49.22 GB) >> >> regards >> Arthur > > -- Harsh J