org.apache.oozie.util
Class PropertiesUtils
java.lang.Object
org.apache.oozie.util.PropertiesUtils
public class PropertiesUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HADOOP_USER
public static final String HADOOP_USER
- See Also:
- Constant Field Values
YEAR
public static final String YEAR
- See Also:
- Constant Field Values
MONTH
public static final String MONTH
- See Also:
- Constant Field Values
DAY
public static final String DAY
- See Also:
- Constant Field Values
HOUR
public static final String HOUR
- See Also:
- Constant Field Values
MINUTE
public static final String MINUTE
- See Also:
- Constant Field Values
DAYS
public static final String DAYS
- See Also:
- Constant Field Values
HOURS
public static final String HOURS
- See Also:
- Constant Field Values
MINUTES
public static final String MINUTES
- See Also:
- Constant Field Values
KB
public static final String KB
- See Also:
- Constant Field Values
MB
public static final String MB
- See Also:
- Constant Field Values
GB
public static final String GB
- See Also:
- Constant Field Values
TB
public static final String TB
- See Also:
- Constant Field Values
PB
public static final String PB
- See Also:
- Constant Field Values
RECORDS
public static final String RECORDS
- See Also:
- Constant Field Values
MAP_IN
public static final String MAP_IN
- See Also:
- Constant Field Values
MAP_OUT
public static final String MAP_OUT
- See Also:
- Constant Field Values
REDUCE_IN
public static final String REDUCE_IN
- See Also:
- Constant Field Values
REDUCE_OUT
public static final String REDUCE_OUT
- See Also:
- Constant Field Values
GROUPS
public static final String GROUPS
- See Also:
- Constant Field Values
PropertiesUtils
public PropertiesUtils()
propertiesToString
public static String propertiesToString(Properties props)
stringToProperties
public static Properties stringToProperties(String str)
readProperties
public static Properties readProperties(Reader reader,
int maxDataLen)
throws IOException
- Throws:
IOException
createPropertySet
public static void createPropertySet(String[] properties,
Set<String> set)
- Create a set from an array
- Parameters:
properties
- String arrayset
- String set
checkDisallowedProperties
public static void checkDisallowedProperties(org.apache.hadoop.conf.Configuration conf,
Set<String> set)
throws CommandException
- Validate against DISALLOWED Properties.
- Parameters:
conf
- : configuration to check.
- Throws:
CommandException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.