net.sf.eos.hadoop
Interface DistributedCacheStrategy

All Known Implementing Classes:
FullyDistributedCacheStrategy, TestDistributedCacheStrategy

public interface DistributedCacheStrategy

Supports different strategies to fetch the cache path.

Author:
Sascha Kohlmann
See Also:
FullyDistributedCacheStrategy, TestDistributedCacheStrategy

Field Summary
static String STRATEGY_IMPL_CONFIG_NAME
          The key for the name of the strategy implementing class.
 
Method Summary
 Path[] distributedCachePathes(JobConf conf)
          Strategies implementing classes must implement this method.
 

Field Detail

STRATEGY_IMPL_CONFIG_NAME

@ConfigurationKey(type=CLASSNAME,
                  description="Supports different strategies to fetch the cache path.")
static final String STRATEGY_IMPL_CONFIG_NAME
The key for the name of the strategy implementing class.

See Also:
Constant Field Values
Method Detail

distributedCachePathes

Path[] distributedCachePathes(JobConf conf)
                              throws IOException
Strategies implementing classes must implement this method.

Parameters:
conf - the environment configuration to get the cache
Returns:
pathes to the chache.
Throws:
IOException - if an error occurs


Copyright © 2008. All Rights Reserved.