title: Apache Hadoop 2.6.0 Source compilation issue
body: <p>I am compiling Hadoop 2.6.0 in 64 bitcentos 6.5 and  getting below error message. Anyone who can help me please?</p>
  
  <p><strong>Environment Detail:</strong></p>
  
  <ul>
  <li>Jave Version: 1.7.0_71-b14 </li>
  <li>Maven Version: Apache Maven 3.2.5</li>
  <li>Open SSL version: OpenSSL 1.0.x</li>
  <li>protoc Version: libprotoc 2.5.0</li>
  <li>Cmake Version:  2.8.12.2</li>
  </ul>
  
  <p>Error message detail is below:</p>
  
  <pre><code>[INFO] Reactor Summary:
  [INFO]
  [INFO] Apache Hadoop Main ................................. SUCCESS [  2.259 s]
  [INFO] Apache Hadoop Project POM .......................... SUCCESS [  1.570 s]
  [INFO] Apache Hadoop Annotations .......................... SUCCESS [  1.853 s]
  [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.211 s]
  [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  1.731 s]
  [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  2.147 s]
  [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [ 43.369 s]
  [INFO] Apache Hadoop Auth ................................. FAILURE [04:09 min]
  [INFO] Apache Hadoop Auth Examples ........................ SKIPPED
  [INFO] Apache Hadoop Common ............................... SKIPPED
  [INFO] Apache Hadoop NFS .................................. SKIPPED
  [INFO] Apache Hadoop KMS .................................. SKIPPED
  [INFO] Apache Hadoop Common Project ....................... SKIPPED
  [INFO] Apache Hadoop HDFS ................................. SKIPPED
  [INFO] Apache Hadoop HttpFS ............................... SKIPPED
  [INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED
  [INFO] Apache Hadoop HDFS-NFS ............................. SKIPPED
  [INFO] Apache Hadoop HDFS Project ......................... SKIPPED
  [INFO] hadoop-yarn ........................................ SKIPPED
  [INFO] hadoop-yarn-api .................................... SKIPPED
  [INFO] hadoop-yarn-common ................................. SKIPPED
  [INFO] hadoop-yarn-server ................................. SKIPPED
  [INFO] hadoop-yarn-server-common .......................... SKIPPED
  [INFO] hadoop-yarn-server-nodemanager ..................... SKIPPED
  [INFO] hadoop-yarn-server-web-proxy ....................... SKIPPED
  [INFO] hadoop-yarn-server-applicationhistoryservice ....... SKIPPED
  [INFO] hadoop-yarn-server-resourcemanager ................. SKIPPED
  [INFO] hadoop-yarn-server-tests ........................... SKIPPED
  [INFO] hadoop-yarn-client ................................. SKIPPED
  [INFO] hadoop-yarn-applications ........................... SKIPPED
  [INFO] hadoop-yarn-applications-distributedshell .......... SKIPPED
  [INFO] hadoop-yarn-applications-unmanaged-am-launcher ..... SKIPPED
  [INFO] hadoop-yarn-site ................................... SKIPPED
  [INFO] hadoop-yarn-registry ............................... SKIPPED
  [INFO] hadoop-yarn-project ................................ SKIPPED
  [INFO] hadoop-mapreduce-client ............................ SKIPPED
  [INFO] hadoop-mapreduce-client-core ....................... SKIPPED
  [INFO] hadoop-mapreduce-client-common ..................... SKIPPED
  [INFO] hadoop-mapreduce-client-shuffle .................... SKIPPED
  [INFO] hadoop-mapreduce-client-app ........................ SKIPPED
  [INFO] hadoop-mapreduce-client-hs ......................... SKIPPED
  [INFO] hadoop-mapreduce-client-jobclient .................. SKIPPED
  [INFO] hadoop-mapreduce-client-hs-plugins ................. SKIPPED
  [INFO] Apache Hadoop MapReduce Examples ................... SKIPPED
  [INFO] hadoop-mapreduce ................................... SKIPPED
  [INFO] Apache Hadoop MapReduce Streaming .................. SKIPPED
  [INFO] Apache Hadoop Distributed Copy ..................... SKIPPED
  [INFO] Apache Hadoop Archives ............................. SKIPPED
  [INFO] Apache Hadoop Rumen ................................ SKIPPED
  [INFO] Apache Hadoop Gridmix .............................. SKIPPED
  [INFO] Apache Hadoop Data Join ............................ SKIPPED
  [INFO] Apache Hadoop Ant Tasks ............................ SKIPPED
  [INFO] Apache Hadoop Extras ............................... SKIPPED
  [INFO] Apache Hadoop Pipes ................................ SKIPPED
  [INFO] Apache Hadoop OpenStack support .................... SKIPPED
  [INFO] Apache Hadoop Amazon Web Services support .......... SKIPPED
  [INFO] Apache Hadoop Client ............................... SKIPPED
  [INFO] Apache Hadoop Mini-Cluster ......................... SKIPPED
  [INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED
  [INFO] Apache Hadoop Tools Dist ........................... SKIPPED
  [INFO] Apache Hadoop Tools ................................ SKIPPED
  [INFO] Apache Hadoop Distribution ......................... SKIPPED
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 05:06 min
  [INFO] Finished at: 2015-06-23T17:13:19+01:00
  [INFO] Final Memory: 62M/150M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project hadoop-auth: Could not resolve dependencies for project org.apache.hadoop:hadoop-auth:jar:2.6.0: Failed to collect dependencies at org.apache.tomcat.embed:tomcat-embed-core:jar:7.0.55: Failed to read artifact descriptor for org.apache.tomcat.embed:tomcat-embed-core:jar:7.0.55: Could not transfer artifact org.apache.tomcat.embed:tomcat-embed-core:pom:7.0.55 from/to repository.jboss.org (http://repository.jboss.org/nexus/content/groups/public/): Connect to repository.jboss.org:80 [repository.jboss.org/209.132.182.33] failed: Connection timed out -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  [ERROR]
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn &lt;goals&gt; -rf :hadoop-auth
  </code></pre>
  
  <p>Below is the Pom.xml of hadoop-auth (project)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--
   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.
  --&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                        http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;parent&gt;
      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
      &lt;artifactId&gt;hadoop-project&lt;/artifactId&gt;
      &lt;version&gt;2.6.0&lt;/version&gt;
      &lt;relativePath&gt;../../hadoop-project&lt;/relativePath&gt;
    &lt;/parent&gt;
    &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
    &lt;artifactId&gt;hadoop-auth&lt;/artifactId&gt;
    &lt;version&gt;2.6.0&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  
    &lt;name&gt;Apache Hadoop Auth&lt;/name&gt;
    &lt;description&gt;Apache Hadoop Auth - Java HTTP SPNEGO&lt;/description&gt;
  
    &lt;properties&gt;
      &lt;maven.build.timestamp.format&gt;yyyyMMdd&lt;/maven.build.timestamp.format&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;!-- Used, even though 'mvn dependency:analyze' doesn't find it --&gt;
        &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
        &lt;artifactId&gt;hadoop-annotations&lt;/artifactId&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.mockito&lt;/groupId&gt;
        &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
        &lt;artifactId&gt;jetty-util&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
        &lt;artifactId&gt;jetty-util&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
        &lt;artifactId&gt;jetty&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
        &lt;artifactId&gt;tomcat-embed-core&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
        &lt;artifactId&gt;tomcat-embed-logging-juli&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
        &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;commons-codec&lt;/groupId&gt;
        &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;log4j&lt;/groupId&gt;
        &lt;artifactId&gt;log4j&lt;/artifactId&gt;
        &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
        &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
        &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
        &lt;artifactId&gt;hadoop-minikdc&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
        &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.directory.server&lt;/groupId&gt;
        &lt;artifactId&gt;apacheds-kerberos-codec&lt;/artifactId&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
          &lt;exclusions&gt;
            &lt;exclusion&gt;
              &lt;groupId&gt;org.apache.directory.api&lt;/groupId&gt;
              &lt;artifactId&gt;api-asn1-ber&lt;/artifactId&gt;
            &lt;/exclusion&gt;
            &lt;exclusion&gt;
              &lt;groupId&gt;org.apache.directory.api&lt;/groupId&gt;
              &lt;artifactId&gt;api-i18n&lt;/artifactId&gt;
            &lt;/exclusion&gt;
            &lt;exclusion&gt;
              &lt;groupId&gt;org.apache.directory.api&lt;/groupId&gt;
              &lt;artifactId&gt;api-ldap-model&lt;/artifactId&gt;
            &lt;/exclusion&gt;
            &lt;exclusion&gt;
              &lt;groupId&gt;net.sf.ehcache&lt;/groupId&gt;
              &lt;artifactId&gt;ehcache-core&lt;/artifactId&gt;
            &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.zookeeper&lt;/groupId&gt;
        &lt;artifactId&gt;zookeeper&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.curator&lt;/groupId&gt;
        &lt;artifactId&gt;curator-framework&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.curator&lt;/groupId&gt;
        &lt;artifactId&gt;curator-test&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  
    &lt;build&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;phase&gt;prepare-package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;jar&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;attach&gt;true&lt;/attach&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;prepare-jar&lt;/id&gt;
              &lt;phase&gt;prepare-package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;jar&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
            &lt;execution&gt;
              &lt;id&gt;prepare-test-jar&lt;/id&gt;
              &lt;phase&gt;prepare-package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;test-jar&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
          &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
          &lt;configuration&gt;
            &lt;excludeFilterFile&gt;${basedir}/dev-support/findbugsExcludeFile.xml&lt;/excludeFilterFile&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  
    &lt;profiles&gt;
      &lt;profile&gt;
        &lt;id&gt;docs&lt;/id&gt;
        &lt;activation&gt;
          &lt;activeByDefault&gt;false&lt;/activeByDefault&gt;
        &lt;/activation&gt;
        &lt;build&gt;
          &lt;plugins&gt;
            &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;phase&gt;package&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;site&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;configuration&gt;
                    &lt;dependencyLocationsEnabled&gt;false&lt;/dependencyLocationsEnabled&gt;
                  &lt;/configuration&gt;
                  &lt;phase&gt;package&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;dependencies&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;phase&gt;package&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;javadoc&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
          &lt;/plugins&gt;
        &lt;/build&gt;
      &lt;/profile&gt;
    &lt;/profiles&gt;
  &lt;/project&gt;
  </code></pre>