Index: /hadoop4win-setup/hadoop4win-setup.bat
===================================================================
--- /hadoop4win-setup/hadoop4win-setup.bat	(revision 241)
+++ /hadoop4win-setup/hadoop4win-setup.bat	(revision 242)
@@ -167,5 +167,4 @@
 copy /Y "%MY_PACKAGE%\hbase\bin\*" "%CYGWIN_ROOT%\bin"
 copy /Y "%MY_PACKAGE%\hadoop\bin\*" "%CYGWIN_ROOT%\bin"
-xcopy /Y /E /I "%MY_PACKAGE%\hadoop\conf-examples" "%HADOOP_DES%\conf-examples"
 
 cls
Index: /hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init
===================================================================
--- /hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init	(revision 241)
+++ /hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init	(revision 242)
@@ -12,7 +12,31 @@
   tar zxvf /usr/src/hadoop-*.tar.gz -C /opt/
   mv /opt/hadoop-* /opt/hadoop
-  cp -R /usr/src/conf-examples/ /opt/hadoop/conf-pseudo
-  mv /opt/hadoop/conf/ /opt/hadoop/conf-local
+  cp /opt/hadoop/conf/ /opt/hadoop/conf-local
+  mv /opt/hadoop/conf/ /opt/hadoop/conf-pseudo
   ln -s /opt/hadoop/conf-pseudo /opt/hadoop/conf
+  cat > /opt/hadoop/conf/core-site.xml << EOF
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<configuration>
+  <property>
+    <name>fs.default.name</name>
+    <value>hdfs://localhost:9000</value>
+  </property>
+  <property>
+    <name>hadoop.tmp.dir</name>
+    <value>/var/hadoop/hadoop-\${user.name}</value>
+  </property>
+</configuration>
+EOF
+  cat > /opt/hadoop/conf/hdfs-site.xml << EOF
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<configuration>
+  <property>
+    <name>dfs.replication</name>
+    <value>1</value>
+  </property>
+</configuration>
+EOF
 fi
 
