← Back to team overview

openjdk team mailing list archive

[Bug 1417962] Re: 6b34 regression: jps as root does not show classname anymore but instead 'process information unavailable' for processes running as non-root user

 

To expand on comment 6 from @amir what is currently broken for Big Data
clusters is the following.

Most Big Data workloads such as setting up a Hadoop Cluster require Java
at many levels. Juju[0] has encapsulated the deployment of Big Data
workloads like deploying a Hadoop Cluster into Charms. In those charms
jps is used in the deployment  of Hadoop. A user recently posted to the
Juju mailing list the charms failed to deploy a 10 node hadoop
cluster[1].

This is a good example of the failure we are seeing. The effect is
severe in that anybody deploying a Hadoop Cluster using the current
Ubuntu OpenJDK from the archive will hit this failure. The work around
isn't that trivial as it requires manual intervention in the connections
between services.

If there is any information we can provide to help in the debug of this
issue please let us know.

[0] juju.ubuntu.com/
[1] https://lists.ubuntu.com/archives/juju/2015-February/004941.html

-thanks,
Antonio

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1417962

Title:
  6b34 regression: jps as root does not show classname anymore but
  instead 'process information unavailable' for processes running as
  non-root user

Status in openjdk-6 package in Ubuntu:
  Confirmed
Status in openjdk-7 package in Ubuntu:
  Confirmed

Bug description:
  I noticed the following behavior change in the jps command line tool when updating from
  6b33-1.13.5-1ubuntu0.12.04 -> 6b34-1.13.6-1ubuntu0.12.04.1 on a ubuntu 12.04 64bit system.

  Staring point is a java process for apache tomcat running as non-root
  user (username openbravo in below example) with pid 1462.

  In 6b33 when running jps -l as root it did correctly identify the classname of the running processes as shown here:
  luna686:~# jps -l
  1462 org.apache.catalina.startup.Bootstrap
  11610 sun.tools.jps.Jps

  However after updating the same jps call as root-user does now show:
  luna686:~# jps -l
  12056 sun.tools.jps.Jps
  1462 -- process information unavailable

  Which break some custom monitoring of us trying to find tomcat process
  via its classname.

  Note: Problem only occours when running jps as root user and process
  in question is running non-root. When running jps as same user as the
  tomcat process is running with then both 6b33 + 6b34 work as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1417962/+subscriptions


References