delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/14/09:32:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 14 Mar 2012 09:32:04 -0400
Message-ID: <CACafSV=SYuWpChRN9p2NVU7knBdfHm97abZjLj+h_5G2eACk9A@mail.gmail.com>
Subject: How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.?
From: James Adams <monocongo AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I cannot change the permissions on files when I run Hadoop in Cygwin:

    java.io.IOException: Failed to set permissions of path:
\tmp\hadoop-James\mapred\staging\James-1143336710\.staging to 0700

From what I've gathered you can't really run Cygwin as root since
Windows doesn't really have a notion of root (reference:
http://cygwin.com/ml/cygwin/2009-01/msg00338.html), and I've tried to
run Cygwin as the Administrator user but this option isn't available
to me when I right click on the Cygwin shortcut in Windows XP (I've
also tried changing the Cygwin shortcut's properties to allow me to
run as another user but that option is disabled).

Can anyone advise me as to how I can get past this issue?  Thanks in
advance for your help.

--James

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019