ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 37078: NFSGateway fails to start on Centos6
Date Tue, 04 Aug 2015 15:11:14 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37078/
-----------------------------------------------------------

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-12632
    https://issues.apache.org/jira/browse/AMBARI-12632


Repository: ambari


Description
-------

stderr

    
    
    Traceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0
 .2.0/package/scripts/nfsgateway.py\", line 131, in <module>\n    NFSGateway().execute()\n
 File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr
 /lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 218,
in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n 
    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nf
 sgateway.py\", line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cac
 he/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\", line 61, in nfsgateway\n
   prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    pr
 epare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap\nTraceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/h
 dfs_nfsgateway.py\", line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind
or portmap\")\nresource_management.core.exceptions.Fail: Failed to start rpcbind or portmap\nTraceback
(most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\
 ")\nresource_management.core.exceptions.Fail: Failed to start rpcbind or portmap\nTraceback
(most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 131, in <module>\n    NFSGateway().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py\",
line 50, in start\n    nfsgateway(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 61, in nfsgateway\n    prepare_rpcbind()\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py\",
line 52, in prepare_rpcbind\n    raise Fail(\"Failed to start rpcbind or portmap\")\nresource_management.core.exceptions.Fail:
Failed to start rpcbind or portmap

Looks similar to


Diffs
-----

  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_nfsgateway.py
efebfc5 

Diff: https://reviews.apache.org/r/37078/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message