遍历hfds列出所有空目录和文件及大小.rar

上传者: 37927069 | 上传时间: 2022-10-09 16:55:02 | 文件大小: 57KB | 文件类型: RAR
java代码实现遍历hdfs所有文件夹及文件,列出空目录以dirnull标示,列出所有文件及大小。可以直接导入到开发环境,hadoop版本为2.7.2,

文件下载

资源详情

[{"title":"( 97 个子文件 57KB ) 遍历hfds列出所有空目录和文件及大小.rar","children":[{"title":"CombineHdfs","children":[{"title":"CombineHdfs.iml <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"Hdfs272","children":[{"title":"pom.xml <span style='color:#111;'> 1014B </span>","children":null,"spread":false},{"title":"Hdfs272.iml <span style='color:#111;'> 8.93KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"classes","children":[{"title":"DirHdfs.class <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"PutHdfs.class <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"AccessHdfs.class <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"IteratorDir.class <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"resources","children":null,"spread":false},{"title":"java","children":[{"title":"DirHdfs.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"IteratorDir.java <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"PutHdfs.java <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"AccessHdfs.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"dir.txt <span style='color:#111;'> 275.45KB </span>","children":null,"spread":false},{"title":"src","children":null,"spread":false},{"title":".idea","children":[{"title":"codeStyles","children":[{"title":"codeStyleConfig.xml <span style='color:#111;'> 153B </span>","children":null,"spread":false}],"spread":true},{"title":"misc.xml <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"jarRepositories.xml <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 6.35KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"Maven__org_apache_commons_commons_compress_1_4_1.xml <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"Maven__org_apache_curator_curator_framework_2_7_1.xml <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_yarn_api_2_7_2.xml <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"Maven__org_tukaani_xz_1_0.xml <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"Maven__commons_net_commons_net_3_1.xml <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"Maven__com_sun_jersey_jersey_core_1_9.xml <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"Maven__commons_io_commons_io_2_4.xml <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_mapreduce_client_common_2_7_2.xml <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"Maven__org_apache_curator_curator_client_2_7_1.xml <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"Maven__com_jcraft_jsch_0_1_42.xml <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"Maven__com_sun_jersey_jersey_server_1_9.xml <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"Maven__com_google_guava_guava_11_0_2.xml <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"Maven__javax_xml_bind_jaxb_api_2_2_2.xml <span style='color:#111;'> 519B </span>","children":null,"spread":false},{"title":"Maven__org_apache_httpcomponents_httpclient_4_1_2.xml <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"Maven__commons_httpclient_commons_httpclient_3_1.xml <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_mapreduce_client_core_2_7_2.xml <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"Maven__javax_servlet_jsp_jsp_api_2_1.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"Maven__xml_apis_xml_apis_1_3_04.xml <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jackson_jackson_jaxrs_1_8_3.xml <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_auth_2_7_2.xml <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_api_1_7_10.xml <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"Maven__com_sun_jersey_jersey_client_1_9.xml <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_mapreduce_client_jobclient_2_7_2.xml <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"Maven__com_sun_jersey_jersey_json_1_9.xml <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_yarn_server_common_2_7_2.xml <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"Maven__com_thoughtworks_paranamer_paranamer_2_3.xml <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"Maven__javax_activation_activation_1_1.xml <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"Maven__commons_codec_commons_codec_1_4.xml <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml <span style='color:#111;'> 548B </span>","children":null,"spread":false},{"title":"Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml <span style='color:#111;'> 615B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_client_2_7_2.xml <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_log4j12_1_7_10.xml <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"Maven__org_apache_httpcomponents_httpcore_4_1_2.xml <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"Maven__xerces_xercesImpl_2_9_1.xml <span style='color:#111;'> 501B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_mapreduce_client_app_2_7_2.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_common_2_7_2.xml <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_yarn_common_2_7_2.xml <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jettison_jettison_1_1.xml <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"Maven__io_netty_netty_3_6_2_Final.xml <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"Maven__org_apache_commons_commons_math3_3_1_1.xml <span style='color:#111;'> 570B </span>","children":null,"spread":false},{"title":"Maven__commons_beanutils_commons_beanutils_1_7_0.xml <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"Maven__commons_logging_commons_logging_1_1_3.xml <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"Maven__io_netty_netty_all_4_0_23_Final.xml <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"Maven__org_apache_directory_api_api_util_1_0_0_M20.xml <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"Maven__commons_configuration_commons_configuration_1_6.xml <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_yarn_client_2_7_2.xml <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"Maven__org_apache_htrace_htrace_core_3_1_0_incubating.xml <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_jetty_6_1_26.xml <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"Maven__org_apache_curator_curator_recipes_2_7_1.xml <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"Maven__xmlenc_xmlenc_0_52.xml <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"Maven__commons_lang_commons_lang_2_6.xml <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"Maven__commons_collections_commons_collections_3_2_2.xml <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"Maven__com_google_code_findbugs_jsr305_3_0_0.xml <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"Maven__log4j_log4j_1_2_17.xml <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jackson_jackson_core_asl_1_9_13.xml <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"Maven__asm_asm_3_1.xml <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"Maven__org_apache_zookeeper_zookeeper_3_4_6.xml <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_mapreduce_client_shuffle_2_7_2.xml <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_hdfs_2_7_2.xml <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"Maven__commons_cli_commons_cli_1_2.xml <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_annotations_2_7_2.xml <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_13.xml <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"Maven__org_apache_avro_avro_1_7_4.xml <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"Maven__com_google_code_gson_gson_2_2_4.xml <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"Maven__javax_xml_stream_stax_api_1_0_2.xml <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"Maven__net_java_dev_jets3t_jets3t_0_9_0.xml <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"Maven__javax_servlet_servlet_api_2_5.xml <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"Maven__com_google_protobuf_protobuf_java_2_5_0.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_jetty_util_6_1_26.xml <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"Maven__commons_digester_commons_digester_1_8.xml <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"Maven__commons_daemon_commons_daemon_1_0_13.xml <span style='color:#111;'> 568B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明