FAQ
Configuration should trim whitespace around class name values
-------------------------------------------------------------

Key: HADOOP-6578
URL: https://issues.apache.org/jira/browse/HADOOP-6578
Project: Hadoop Common
Issue Type: Improvement
Components: conf
Affects Versions: 0.22.0
Reporter: Todd Lipcon
Priority: Minor


I've seen multiple users make an error where they've listed some whitespace around a class name (eg for configuring a scheduler). This results in a ClassNotFoundException which is very hard to debug, as you don't notice the whitespace in the exception! We should simply trim the whitespace in Configuration.getClass and Configuration.getClasses to avoid this class of user error.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedFeb 19, '10 at 10:26p
activeFeb 19, '10 at 10:26p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Todd Lipcon (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase