[
https://issues.apache.org/jira/browse/HADOOP-12530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983587#comment-14983587
]
Nadia commented on HADOOP-12530:
--------------------------------
However there is still a warning msg, when I try to format and run $ hdfs
namenode -format in the terminal
I get a warning msg and there seem to be an issue with loading library for my
platform.
I run hadoop on OS X El Capitan. Can new operation system cause this?
STARTUP_MSG: java = 1.8.0_31
************************************************************/
15/10/31 00:02:40 INFO namenode.NameNode: registered UNIX signal handlers for
[TERM, HUP, INT]
15/10/31 00:02:40 INFO namenode.NameNode: createNameNode [-format]
15/10/31 00:02:41 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
Formatting using clusterid: CID-300e836c-c481-4fa9-9104-4c87b790d739
> Error when trying to format HDFS by running hdfs namenode -format
> -----------------------------------------------------------------
>
> Key: HADOOP-12530
> URL: https://issues.apache.org/jira/browse/HADOOP-12530
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.7.1
> Environment: mac
> Reporter: Nadia
> Assignee: Daniel Templeton
>
> I receive following errors when running $ hdfs namenode -format
> 15/10/30 12:34:18 INFO namenode.NameNode: registered UNIX signal handlers for
> [TERM, HUP, INT]
> 15/10/30 12:34:18 INFO namenode.NameNode: createNameNode [-format]
> [Fatal Error] core-site.xml:31:1: XML document structures must start and end
> within the same entity.
> 15/10/30 12:34:19 FATAL conf.Configuration: error parsing conf core-site.xml
> org.xml.sax.SAXParseException; systemId:
> file:/usr/local/Cellar/hadoop/2.7.1/libexec/etc/hadoop/core-site.xml;
> lineNumber: 31; columnNumber: 1; XML document structures must start and end
> within the same entity.
> core-site.xml looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <!--
> Licensed under the Apache License, Version 2.0 (the "License");
> you may not use this file except in compliance with the License.
> You may obtain a copy of the License at
> http://www.apache.org/licenses/LICENSE-2.0
> Unless required by applicable law or agreed to in writing, software
> distributed under the License is distributed on an "AS IS" BASIS,
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> See the License for the specific language governing permissions and
> limitations under the License. See accompanying LICENSE file.
> -->
> <!-- Put site-specific property overrides in this file. -->
> <configuration>
> <property>
> <name>hadoop.tmp.dir</name>
> <value>/usr/local/Cellar/hadoop/hdfs/tmp</value>
> <description>A base for other temporary directories.</description>
> </property>
> <property>
> <name>fs.default.name</name>
> <value>hdfs://localhost:9000</value>
> </property>
> <configuration>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)