args: [-w, -d] files: .*\.sh stages: [commit, merge-commit, push, manual] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: check-case-conflict - id: check-executables-have-shebangs exclude: ^(install/|_unit-test/_test_setup.sh) - id: check...
parse_args() logging.basicConfig() # The following call updates the log levels of the root logger # and potential some other loggers. exlog.config_from_args(args)Now the script can be used from the commandline like this:# Set the log-level for the loggers with the names `path.to....
否则编译的结果得到的protobuf版本不对,无法读取hdfs上的文件,抛java.lang.VerifyError: class org.apache.hadoop.hdfs .protocol.proto.ClientNamenodeProtocolProtos$CreateSnapshotRequestProto overrides final method getUnknownFields.() Lcom/google/protobuf/UnknownFieldSet; Step3 编译 运行: mvn -Pyarn -Phadoo...