def get_hdfs_binary(self): """ Get the name or path to the hdfs binary depending on the stack and version. """ import params stack_to_comp = self.get_stack_to_component() if params.stack_name in stack_to_comp: return get_hdfs_binary(stack_to_comp[params.stack_name]) return "hdfs"
def get_hdfs_binary(self): """ Get the name or path to the hdfs binary depending on the stack and version. """ import params stack_to_comp = "hadoop-hdfs-datanode" if params.stack_name in stack_to_comp: return get_hdfs_binary(stack_to_comp[params.stack_name]) return "hdfs"
def get_hdfs_binary(self): """ Get the name or path to the hdfs binary depending on the stack and version. """ import params stack_to_comp = self.get_stack_to_component() if params.stack_name in stack_to_comp: return get_hdfs_binary(stack_to_comp[params.stack_name]) return "hdfs"
def get_hdfs_binary(self): """ Get the name or path to the hdfs binary depending on the component name. """ component_name = self.get_component_name() return get_hdfs_binary(component_name)
def get_hdfs_binary(self): return get_hdfs_binary("hadoop-hdfs-datanode")
def get_hdfs_binary(self): """ Get the name or path to the hdfs binary depending on the component name. """ return get_hdfs_binary("hadoop-hdfs-datanode")
def get_hdfs_binary(self): return get_hdfs_binary("hadoop-hdfs-router")