You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2011/08/25 00:32:31 UTC
[jira] [Created] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
TT does not start due to backwards compatibility wrt. EventCounter
------------------------------------------------------------------
Key: HADOOP-7577
URL: https://issues.apache.org/jira/browse/HADOOP-7577
Project: Hadoop Common
Issue Type: Bug
Components: metrics
Affects Versions: 0.22.0
Reporter: Joep Rottinghuis
Assignee: Joep Rottinghuis
Priority: Minor
Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
Without it the TT will fail to start with a ClassNotFoundException.
Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joep Rottinghuis updated HADOOP-7577:
-------------------------------------
Status: Patch Available (was: Open)
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090580#comment-13090580 ]
Joep Rottinghuis commented on HADOOP-7577:
------------------------------------------
Error during startup:
log4j:ERROR Could not instantiate class [org.apache.hadoop.log.EventCounter].
host: java.lang.ClassNotFoundException: org.apache.hadoop.log.EventCounter
host: at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
host: at java.security.AccessController.doPrivileged(Native Method)
host: at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095072#comment-13095072 ]
Konstantin Shvachko commented on HADOOP-7577:
---------------------------------------------
+1 Looks good. Could you please link the respective jira that applied the change to security branch and / or trunk.
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095212#comment-13095212 ]
Hudson commented on HADOOP-7577:
--------------------------------
Integrated in Hadoop-Common-22-branch #72 (See [https://builds.apache.org/job/Hadoop-Common-22-branch/72/])
HADOOP-7577. Add EventCounter wrapper to provide compatibility between metrics 1 and 2. Contributed by Joep Rottinghuis.
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163891
Files :
* /hadoop/common/branches/branch-0.22/common/CHANGES.txt
* /hadoop/common/branches/branch-0.22/common/src/java/org/apache/hadoop/log/EventCounter.java
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-7577:
----------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I just committed this. Thank you Joep.
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joep Rottinghuis updated HADOOP-7577:
-------------------------------------
Attachment: HADOOP-7577.patch
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Konstantin Shvachko (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-7577:
----------------------------------------
Fix Version/s: 0.22.0
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090587#comment-13090587 ]
Joep Rottinghuis commented on HADOOP-7577:
------------------------------------------
On trunk the new location is o.a.h.log.metrics.EventCounter, while on 0.22 the location is still the old-old o.a.h.metrics.jvm
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7577) TT does not start due to backwards
compatibility wrt. EventCounter
Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091342#comment-13091342 ]
Joep Rottinghuis commented on HADOOP-7577:
------------------------------------------
Does not apply to trunk as a similar file already exists there. The file on trunk is also a wrapper, but points users to the new location used after move to metrics2.
> TT does not start due to backwards compatibility wrt. EventCounter
> ------------------------------------------------------------------
>
> Key: HADOOP-7577
> URL: https://issues.apache.org/jira/browse/HADOOP-7577
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.22.0
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Attachments: HADOOP-7577.patch
>
>
> Between metrics1 and mertrics2 EventCounter was moved from o.a.h.log to o.a.h.metrics.jvm.
> On 0.20-security a wrapper marked with @Deprecated was added back to o.a.h.log for compatibility, the same wrapper exists on trunk, but no on 0.22.
> Without it the TT will fail to start with a ClassNotFoundException.
> Hive configuration also point to this class in the log4j.properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira