Bug 1020183 - Improve the logging within the plugin so that it is easier to debug
Summary: Improve the logging within the plugin so that it is easier to debug
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: gluster-hadoop
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Bradley Childs
QA Contact: hcfs-gluster-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-17 08:34 UTC by Daniel Horák
Modified: 2018-09-18 08:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-18 08:41:06 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Daniel Horák 2013-10-17 08:34:37 UTC
Description of problem:
  Actual version of shim (now 2.1.4) logs only few lines about shim version and no other (debugging) information and records. It would be good to have possibility to get more information about running actions.

One example is debugging problem with getfattr (see bug 1002020) - executed Hadoop (mapreduce) job fails with general "Cannot get layout" exception and it is not clear what is the problem.
> It happens when xtended attrs arent available either:
> 1) Because user running task or job doesnt have sudo privileges and your hadoop config (core-site.xml) sets the getfattr command to use sudo.  
> 2) Your gluster mount is severely broken, or not mounted at all.
> 3) You are running without a TTY (i.e. this happens when jenkins launches our jobs - even if it is root - so you have to disable tty in sudoers - yes even for root!) 
> 4) If /usr/bin/getfattr isnt installed (in a fedora19 distro, i found i had to manually install it: yum install     yum install attr)

Version-Release number of selected component (if applicable):
  glusterfs-hadoop-2.1.4.jar

Comment 2 Jay Vyas 2013-11-19 13:21:12 UTC
Agreed that we (1) need a revised logging patch + (2) instructions on the 
forge.gluster.org about how to debug the shim and capture/ configure logs.

Comment 3 Scott Haines 2013-11-19 19:58:03 UTC
Per 11/13 bug triage meeting, re-assigning to bchilds and mark medium.

Comment 4 Amar Tumballi 2018-09-18 08:41:06 UTC
gluster-hadoop project is not being actively maintained, and the team is not planning to contribute further on to it.


Note You need to log in before you can comment on or make changes to this bug.