Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 33F8A200B6B for ; Thu, 25 Aug 2016 08:37:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 327F0160A94; Thu, 25 Aug 2016 06:37:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7A081160A93 for ; Thu, 25 Aug 2016 08:37:19 +0200 (CEST) Received: (qmail 40741 invoked by uid 500); 25 Aug 2016 06:37:18 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 40726 invoked by uid 99); 25 Aug 2016 06:37:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 06:37:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 962F6C0A64 for ; Thu, 25 Aug 2016 06:37:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.448 X-Spam-Level: * X-Spam-Status: No, score=1.448 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PQQxljZ1QTSE for ; Thu, 25 Aug 2016 06:37:15 +0000 (UTC) Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com [209.85.217.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2C0555F341 for ; Thu, 25 Aug 2016 06:37:15 +0000 (UTC) Received: by mail-ua0-f175.google.com with SMTP id l94so5314984ual.0 for ; Wed, 24 Aug 2016 23:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yYn0aqLqYpbzY16eEv+oZzgK3NlK3bNVAvrfqVH8hZI=; b=i1oaQLoC9hvU91lyThcm6iV72V+1uAtI/Hh/cvf+HNLX1IUnFVl5SGzl064LPKCWTN jRj+OeR65T8xCc0wyTHOH8mlmT9Ij+VnSOfKk2b0VLRtbx5bEg/tHsKpz8rpW9hXJbKC ijlvEUUcFM3saoq2jS+jxDz7ecYXHsKlMYraY6U7n09j4D41zlaW8XviCqL7dd60EQ5x nObC9bVLeIVxTXWt3bzrGAucHKXhyjoku8j4UN/uLPzomYVzj8LZ8PPRv45Nse61KOnC 3J2suEILjd+UX1jl+AUsEYzSCxZDJ8BsoRyyEIHe4zjYLCw3NFW1VLhGsymHnqMgnlsr WnSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yYn0aqLqYpbzY16eEv+oZzgK3NlK3bNVAvrfqVH8hZI=; b=LCg5dCYGaLmkJs5kO4gT3J9n0/3moJ01Dpb+YiJBrjDapmVMRuWfFrAVmtz6kHzMY7 127bWCXVKeGQlCOklxGqQSQ85YGxk0JeFL7l2rqLiqI6+B1z1CGkpsm1L2xIVdLqWj2G YWj0bPMlzCi/2DpaB+K+QAXdbDMnzZ7xUZuc64JdHHNy4tgoN9YNqUy2EkJImjQ0lne9 5/KM0y8zEboah8QJ1yH02idiOi8SVQ6gDqL7kEOLulfdg6k22zwpEgcwDUcW9cBSxgF9 ikWI6TAQOLQEJO+ieon/sKwqqpRpDdXlixcZsjTYTlK06ncrPy8Drg9El0inJwt+eHZN xC6Q== X-Gm-Message-State: AE9vXwMWZBMXWpMkAgPHG3/IhQLhRCL6LrRdOm+zwxHBuQsVaKWQM0zLBzIngns4N+g6LT0YOa+dqMZohF56Dg== X-Received: by 10.176.80.199 with SMTP id d7mr652628uaa.139.1472107034005; Wed, 24 Aug 2016 23:37:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.148.66 with HTTP; Wed, 24 Aug 2016 23:37:13 -0700 (PDT) In-Reply-To: References: From: Senthil Kumar Date: Thu, 25 Aug 2016 12:07:13 +0530 Message-ID: Subject: Re: NFS Gateway - Secure Cluster - Mount Failed To: hdfs-dev@hadoop.apache.org Cc: Senthil kumar Content-Type: multipart/alternative; boundary=94eb2c190b56d559f9053adfa0b5 archived-at: Thu, 25 Aug 2016 06:37:20 -0000 --94eb2c190b56d559f9053adfa0b5 Content-Type: text/plain; charset=UTF-8 Expected Client Kerberos Principle is null issue resolved now .. Added sec=krb5 option while mounting .. mount -vvv -t nfs -o vers=3,*sec=krb5*,proto=tcp,nolock,noacl,sync gateway:/ hdfs_space/ mount: fstab path: "/etc/fstab" mount: mtab path: "/etc/mtab" mount: lock path: "/etc/mtab~" mount: temp path: "/etc/mtab.tmp" mount: UID: 0 mount: eUID: 0 mount: spec: "gatewaymachine:/" mount: node: "hdfs_space/" mount: types: "nfs" mount: opts: "vers=3,sec=krb5,proto=tcp,nolock,noacl,sync" final mount options: 'vers=3,sec=krb5,proto=tcp,nolock,noacl' mount: external mount: argv[0] = "/sbin/mount.nfs" mount: external mount: argv[1] = "gatewaymachine:/" mount: external mount: argv[2] = "hdfs_space/" mount: external mount: argv[3] = "-v" mount: external mount: argv[4] = "-o" mount: external mount: argv[5] = "rw,sync,vers=3,sec=krb5,proto=tcp,nolock,noacl" mount.nfs: timeout set for Wed Aug 24 23:34:31 2016 mount.nfs: trying text-based options 'vers=3,sec=krb5,proto=tcp,nolock,noacl,addr=10.115.22.109' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 10.115.22.109 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=6 mount.nfs: trying 10.115.22.109 prog 100005 vers 3 prot TCP port 4242 *mount.nfs: mount(2): Permission denied* *mount.nfs: access denied by server while mounting gatewaymachine:/* Not sure why mount throwing permission issue .. Anybody faced this issue ?? --Senthil On Thu, Aug 25, 2016 at 10:53 AM, Senthil Kumar wrote: > Hi Team , As part of NFS Evaluation , i have installed NFS Gateway > Service in Secure Cluster .. > > > Config in Gateway Machine: > > nfs.file.dump.dir > /tmp/.hdfs-nfs > > > nfs.keytab.file > /etc/hadoop/hadoop.keytab > > > nfs.kerberos.principal > hadoop/_HOST@APD.XXXX.COM > > > > NFS3 Service Started Successfully , but when i try to Mount the root / > directory it failed with below error .. > > WARN org.apache.hadoop.hdfs.nfs.nfs3.RpcProgramNfs3: Exception > org.apache.hadoop.ipc.RemoteException(org.apache. > hadoop.security.authorize.AuthorizationException): > User root (auth:PROXY) via hadoop/phxdpehdc30dn0029. > stratus.phx.ebay.com@APD.EBAY.COM (auth:KERBEROS) > is not authorized for protocol interface org.apache.hadoop.hdfs.protocol.ClientProtocol, > *expected client Kerberos principal is null* > > > mount command: > *mount *-t nfs -o vers=3,proto=tcp,nolock,noacl,sync gatewaymachine:/ > hdfs_space/ > *mount.nfs: mount system call failed* > > > What could be the issue here ?? I followed https://hadoop. > apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html > this documentation .. > > > --Senthil > --94eb2c190b56d559f9053adfa0b5--