开发者社区 问答 正文

Hadoop中元数据生成的作用和源代码以及操作示例是什么?

Hadoop中元数据生成的作用和源代码以及操作示例是什么?

展开
收起
游客yzrzs5mf6j7yy 2021-12-06 06:34:45 321 分享 版权
1 条回答
写回答
取消 提交回答
  • 
    
    
    
    
     
    protected Path createInputFileListing(Job    job) throws IOException {
    
        Path    fileListingPath = getFileListingPath();
    
        CopyListing    copyListing = CopyListing.getCopyListing(job.getConfiguration(),
    
               job.getCredentials(), inputOptions);
    
        copyListing.buildListing(fileListingPath,    inputOptions);
    
        return    fileListingPath;
    
    }
    
     
    
    2021-12-06 06:34:59
    赞同 展开评论