`

升级hadoop0.20.2到hadoop-0.21.0

阅读更多

按照新的文档来 更新配置: http://hadoop.apache.org/common/docs/current/cluster_setup.html

 

发现多了很多东西,新的文档也比以前的详细,好的多.

 

不过此次只为了升级hadoop0.20.2到hadoop-0.21.0

 

 

看看发布的版本:http://hadoop.apache.org/common/releases.html

整整半年了,等的好辛苦,等得Hbase也很辛苦。 本次版本的更新,修复了N多的BUG ,看看吧:

http://hadoop.apache.org/common/docs/r0.21.0/changes.html

着实吓了一跳:

  • INCOMPATIBLE CHANGES    (31)
    1. HADOOP-4895 . Remove deprecated methods DFSClient.getHints(..) and DFSClient.isDirectory(..).
      (szetszwo)
    2. HADOOP-4941 . Remove deprecated FileSystem methods: getBlockSize(Path f), getLength(Path f) and getReplication(Path src).
      (szetszwo)
    3. HADOOP-4648 . Remove obsolete, deprecated InMemoryFileSystem and ChecksumDistributedFileSystem.
      (cdouglas via szetszwo)
    4. HADOOP-4940 . Remove a deprecated method FileSystem.delete(Path f).
      (Enis Soztutar via szetszwo)
    5. HADOOP-4010 . Change semantics for LineRecordReader to read an additional line per split- rather than moving back one character in the stream- to work with splittable compression codecs.
      (Abdul Qadeer via cdouglas)
    6. HADOOP-5094 . Show hostname and separate live/dead datanodes in DFSAdmin report.
      (Jakob Homan via szetszwo)
    7. HADOOP-4942 . Remove deprecated FileSystem methods getName() and getNamed(String name, Configuration conf).
      (Jakob Homan via szetszwo)
    8. HADOOP-5486 . Removes the CLASSPATH string from the command line and instead exports it in the environment.
      (Amareshwari Sriramadasu via ddas)
    9. HADOOP-2827 . Remove deprecated NetUtils::getServerAddress.
      (cdouglas)
    10. HADOOP-5681 . Change examples RandomWriter and RandomTextWriter to use new mapreduce API.
      (Amareshwari Sriramadasu via sharad)
    11. HADOOP-5680 . Change org.apache.hadoop.examples.SleepJob to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    12. HADOOP-5699 . Change org.apache.hadoop.examples.PiEstimator to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    13. HADOOP-5720 . Introduces new task types - JOB_SETUP, JOB_CLEANUP and TASK_CLEANUP. Removes the isMap methods from TaskID/TaskAttemptID classes.
      (ddas)
    14. HADOOP-5668 . Change TotalOrderPartitioner to use new API.
      (Amareshwari Sriramadasu via cdouglas)
    15. HADOOP-5738 . Split "waiting_tasks" JobTracker metric into waiting maps and waiting reduces.
      (Sreekanth Ramakrishnan via cdouglas)
    16. HADOOP-5679 . Resolve findbugs warnings in core/streaming/pipes/examples.
      (Jothi Padmanabhan via sharad)
    17. HADOOP-4359 . Support for data access authorization checking on Datanodes.
      (Kan Zhang via rangadi)
    18. HADOOP-5690 . Change org.apache.hadoop.examples.DBCountPageView to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    19. HADOOP-5694 . Change org.apache.hadoop.examples.dancing to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    20. HADOOP-5696 . Change org.apache.hadoop.examples.Sort to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    21. HADOOP-5698 . Change org.apache.hadoop.examples.MultiFileWordCount to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    22. HADOOP-5913 . Provide ability to an administrator to stop and start job queues.
      (Rahul Kumar Singh and Hemanth Yamijala via yhemanth)
    23. MAPREDUCE-711. Removed Distributed Cache from Common, to move it under Map/Reduce.
      (Vinod Kumar Vavilapalli via yhemanth)
    24. HADOOP-6201 . Change FileSystem::listStatus contract to throw FileNotFoundException if the directory does not exist, rather than letting this be implementation-specific.
      (Jakob Homan via cdouglas)
    25. HADOOP-6230 . Moved process tree and memory calculator related classes from Common to Map/Reduce.
      (Vinod Kumar Vavilapalli via yhemanth)
    26. HADOOP-6203 . FsShell rm/rmr error message indicates exceeding Trash quota and suggests using -skpTrash, when moving to trash fails.
      (Boris Shkolnik via suresh)
    27. HADOOP-6303 . Eclipse .classpath template has outdated jar files and is missing some new ones.
      (cos)
    28. HADOOP-6396 . Fix uninformative exception message when unable to parse umask.
      (jghoman)
    29. HADOOP-6299 . Reimplement the UserGroupInformation to use the OS specific and Kerberos JAAS login.
      (omalley)
    30. HADOOP-6686 . Remove redundant exception class name from the exception message for the exceptions thrown at RPC client.
      (suresh)
    31. HADOOP-6701 . Fix incorrect exit codes returned from chmod, chown and chgrp commands from FsShell.
      (Ravi Phulari via suresh)
  • NEW FEATURES    (59)
    1. HADOOP-6332 . Large-scale Automated Test Framework.
      (sharad, Sreekanth Ramakrishnan, at all via cos)
    2. HADOOP-4268 . Change fsck to use ClientProtocol methods so that the corresponding permission requirement for running the ClientProtocol methods will be enforced.
      (szetszwo)
    3. HADOOP-3953 . Implement sticky bit for directories in HDFS.
      (Jakob Homan via szetszwo)
    4. HADOOP-4368 . Implement df in FsShell to show the status of a FileSystem.
      (Craig Macdonald via szetszwo)
    5. HADOOP-3741 . Add a web ui to the SecondaryNameNode for showing its status.
      (szetszwo)
    6. HADOOP-5018 . Add pipelined writers to Chukwa.
      (Ari Rabkin via cdouglas)
    7. HADOOP-5052 . Add an example computing exact digits of pi using the Bailey-Borwein-Plouffe algorithm. (Tsz Wo (Nicholas), SZE via cdouglas)
    8. HADOOP-4927 . Adds a generic wrapper around outputformat to allow creation of output on demand
      (Jothi Padmanabhan via ddas)
    9. HADOOP-5144 . Add a new DFSAdmin command for changing the setting of restore failed storage replicas in namenode.
      (Boris Shkolnik via szetszwo)
    10. HADOOP-5258 . Add a new DFSAdmin command to print a tree of the rack and datanode topology as seen by the namenode.
      (Jakob Homan via szetszwo)
    11. HADOOP-4756 . A command line tool to access JMX properties on NameNode and DataNode.
      (Boris Shkolnik via rangadi)
    12. HADOOP-4539 . Introduce backup node and checkpoint node.
      (shv)
    13. HADOOP-5363 . Add support for proxying connections to multiple clusters with different versions to hdfsproxy.
      (Zhiyong Zhang via cdouglas)
    14. HADOOP-5528 . Add a configurable hash partitioner operating on ranges of BinaryComparable keys.
      (Klaas Bosteels via shv)
    15. HADOOP-5257 . HDFS servers may start and stop external components through a plugin interface.
      (Carlos Valiente via dhruba)
    16. HADOOP-5450 . Add application-specific data types to streaming's typed bytes interface.
      (Klaas Bosteels via omalley)
    17. HADOOP-5518 . Add contrib/mrunit, a MapReduce unit test framework.
      (Aaron Kimball via cutting)
    18. HADOOP-5469 . Add /metrics servlet to daemons, providing metrics over HTTP as either text or JSON.
      (Philip Zeyliger via cutting)
    19. HADOOP-5467 . Introduce offline fsimage image viewer.
      (Jakob Homan via shv)
    20. HADOOP-5752 . Add a new hdfs image processor, Delimited, to oiv.
      (Jakob Homan via szetszwo)
    21. HADOOP-5266 . Adds the capability to do mark/reset of the reduce values iterator in the Context object API.
      (Jothi Padmanabhan via ddas)
    22. HADOOP-5745 . Allow setting the default value of maxRunningJobs for all pools.
      (dhruba via matei)
    23. HADOOP-5643 . Adds a way to decommission TaskTrackers while the JobTracker is running.
      (Amar Kamat via ddas)
    24. HADOOP-4829 . Allow FileSystem shutdown hook to be disabled.
      (Todd Lipcon via tomwhite)
    25. HADOOP-5815 . Sqoop: A database import tool for Hadoop.
      (Aaron Kimball via tomwhite)
    26. HADOOP-4861 . Add disk usage with human-readable size (-duh).
      (Todd Lipcon via tomwhite)
    27. HADOOP-5844 . Use mysqldump when connecting to local mysql instance in Sqoop.
      (Aaron Kimball via tomwhite)
    28. HADOOP-5976 . Add a new command, classpath, to the hadoop script.
      (Owen O'Malley and Gary Murry via szetszwo)
    29. HADOOP-6120 . Add support for Avro specific and reflect data.
      (sharad via cutting)
    30. HADOOP-6226 . Moves BoundedByteArrayOutputStream from the tfile package to the io package and makes it available to other users (MAPREDUCE-318).
      (Jothi Padmanabhan via ddas)
    31. HADOOP-6105 . Adds support for automatically handling deprecation of configuration keys.
      (V.V.Chaitanya Krishna via yhemanth)
    32. HADOOP-6235 . Adds new method to FileSystem for clients to get server defaults.
      (Kan Zhang via suresh)
    33. HADOOP-6234 . Add new option dfs.umaskmode to set umask in configuration to use octal or symbolic instead of decimal.
      (Jakob Homan via suresh)
    34. HADOOP-5073 . Add annotation mechanism for interface classification.
      (Jakob Homan via suresh)
    35. HADOOP-4012 . Provide splitting support for bzip2 compressed files.
      (Abdul Qadeer via cdouglas)
    36. HADOOP-6246 . Add backward compatibility support to use deprecated decimal umask from old configuration.
      (Jakob Homan via suresh)
    37. HADOOP-4952 . Add new improved file system interface FileContext for the application writer
      (Sanjay Radia via suresh)
    38. HADOOP-6170 . Add facility to tunnel Avro RPCs through Hadoop RPCs. This permits one to take advantage of both Avro's RPC versioning features and Hadoop's proven RPC scalability.
      (cutting)
    39. HADOOP-6267 . Permit building contrib modules located in external source trees.
      (Todd Lipcon via cutting)
    40. HADOOP-6240 . Add new FileContext rename operation that posix compliant that allows overwriting existing destination.
      (suresh)
    41. HADOOP-6204 . Implementing aspects development and fault injeciton framework for Hadoop
      (cos)
    42. HADOOP-6313 . Implement Syncable interface in FSDataOutputStream to expose flush APIs to application users.
      (Hairong Kuang via suresh)
    43. HADOOP-6284 . Add a new parameter, HADOOP_JAVA_PLATFORM_OPTS, to hadoop-config.sh so that it allows setting java command options for JAVA_PLATFORM.
      (Koji Noguchi via szetszwo)
    44. HADOOP-6337 . Updates FilterInitializer class to be more visible, and the init of the class is made to take a Configuration argument.
      (Jakob Homan via ddas)
    45. Hadoop-6223. Add new file system interface AbstractFileSystem with implementation of some file systems that delegate to old FileSystem.
      (Sanjay Radia via suresh)
    46. HADOOP-6433 . Introduce asychronous deletion of files via a pool of threads. This can be used to delete files in the Distributed Cache.
      (Zheng Shao via dhruba)
    47. HADOOP-6415 . Adds a common token interface for both job token and delegation token.
      (Kan Zhang via ddas)
    48. HADOOP-6408 . Add a /conf servlet to dump running configuration.
      (Todd Lipcon via tomwhite)
    49. HADOOP-6520 . Adds APIs to read/write Token and secret keys. Also adds the automatic loading of tokens into UserGroupInformation upon login. The tokens are read from a file specified in the environment variable.
      (ddas)
    50. HADOOP-6419 . Adds SASL based authentication to RPC.
      (Kan Zhang via ddas)
    51. HADOOP-6510 . Adds a way for superusers to impersonate other users in a secure environment.
      (Jitendra Nath Pandey via ddas)
    52. HADOOP-6421 . Adds Symbolic links to FileContext, AbstractFileSystem. It also adds a limited implementation for the local file system (RawLocalFs) that allows local symlinks.
      (Eli Collins via Sanjay Radia)
    53. HADOOP-6577 . Add hidden configuration option "ipc.server.max.response.size" to change the default 1 MB, the maximum size when large IPC handler response buffer is reset.
      (suresh)
    54. HADOOP-6568 . Adds authorization for the default servlets.
      (Vinod Kumar Vavilapalli via ddas)
    55. HADOOP-6586 . Log authentication and authorization failures and successes for RPC
      (boryas)
    56. HADOOP-6580 . UGI should contain authentication method.
      (jnp via boryas)
    57. HADOOP-6657 . Add a capitalization method to StringUtils for MAPREDUCE-1545.
      (Luke Lu via Steve Loughran)
    58. HADOOP-6692 . Add FileContext#listStatus that returns an iterator.
      (hairong)
    59. HADOOP-6869 . Functionality to create file or folder on a remote daemon side
      (Vinay Thota via cos)
  • IMPROVEMENTS    (198)
    1. HADOOP-6798 . Align Ivy version for all Hadoop subprojects.
      (cos)
    2. HADOOP-6777 . Implement a functionality for suspend and resume a process.
      (Vinay Thota via cos)
    3. HADOOP-6772 . Utilities for system tests specific.
      (Vinay Thota via cos)
    4. HADOOP-6771 . Herriot's artifact id for Maven deployment should be set to hadoop-core-instrumented
      (cos)
    5. HADOOP-6752 . Remote cluster control functionality needs JavaDocs improvement (Balaji Rajagopalan via cos).
    6. HADOOP-4565 . Added CombineFileInputFormat to use data locality information to create splits.
      (dhruba via zshao)
    7. HADOOP-4936 . Improvements to TestSafeMode.
      (shv)
    8. HADOOP-4985 . Remove unnecessary "throw IOException" declarations in FSDirectory related methods.
      (szetszwo)
    9. HADOOP-5017 . Change NameNode.namesystem declaration to private.
      (szetszwo)
    10. HADOOP-4794 . Add branch information from the source version control into the version information that is compiled into Hadoop.
      (cdouglas via omalley)
    11. HADOOP-5070 . Increment copyright year to 2009, remove assertions of ASF copyright to licensed files. (Tsz Wo (Nicholas), SZE via cdouglas)
    12. HADOOP-5037 . Deprecate static FSNamesystem.getFSNamesystem().
      (szetszwo)
    13. HADOOP-5088 . Include releaseaudit target as part of developer test-patch target.
      (Giridharan Kesavan via nigel)
    14. HADOOP-2721 . Uses setsid when creating new tasks so that subprocesses of this process will be within this new session (and this process will be the process leader for all the subprocesses). Killing the process leader, or the main Java task in Hadoop's case, kills the entire subtree of processes.
      (Ravi Gummadi via ddas)
    15. HADOOP-5097 . Remove static variable JspHelper.fsn, a static reference to a non-singleton FSNamesystem object.
      (szetszwo)
    16. HADOOP-3327 . Improves handling of READ_TIMEOUT during map output copying.
      (Amareshwari Sriramadasu via ddas)
    17. HADOOP-5124 . Choose datanodes randomly instead of starting from the first datanode for providing fairness.
      (hairong via szetszwo)
    18. HADOOP-4930 . Implement a Linux native executable that can be used to launch tasks as users.
      (Sreekanth Ramakrishnan via yhemanth)
    19. HADOOP-5122 . Fix format of fs.default.name value in libhdfs test conf.
      (Craig Macdonald via tomwhite)
    20. HADOOP-5038 . Direct daemon trace to debug log instead of stdout.
      (Jerome Boulon via cdouglas)
    21. HADOOP-5101 . Improve packaging by adding 'all-jars' target building core, tools, and example jars. Let findbugs depend on this rather than the 'tar' target.
      (Giridharan Kesavan via cdouglas)
    22. HADOOP-4868 . Splits the hadoop script into three parts - bin/hadoop, bin/mapred and bin/hdfs.
      (Sharad Agarwal via ddas)
    23. HADOOP-1722 . Adds support for TypedBytes and RawBytes in Streaming.
      (Klaas Bosteels via ddas)
    24. HADOOP-4220 . Changes the JobTracker restart tests so that they take much less time.
      (Amar Kamat via ddas)
    25. HADOOP-4885 . Try to restore failed name-node storage directories at checkpoint time.
      (Boris Shkolnik via shv)
    26. HADOOP-5209 . Update year to 2009 for javadoc.
      (szetszwo)
    27. HADOOP-5279 . Remove unnecessary targets from test-patch.sh.
      (Giridharan Kesavan via nigel)
    28. HADOOP-5120 . Remove the use of FSNamesystem.getFSNamesystem() from UpgradeManagerNamenode and UpgradeObjectNamenode.
      (szetszwo)
    29. HADOOP-5222 . Add offset to datanode clienttrace.
      (Lei Xu via cdouglas)
    30. HADOOP-5240 . Skip re-building javadoc when it is already up-to-date.
      (Aaron Kimball via cutting)
    31. HADOOP-5042 . Add a cleanup stage to log rollover in Chukwa appender.
      (Jerome Boulon via cdouglas)
    32. HADOOP-5264 . Removes redundant configuration object from the TaskTracker.
      (Sharad Agarwal via ddas)
    33. HADOOP-5232 . Enable patch testing to occur on more than one host.
      (Giri Kesavan via nigel)
    34. HADOOP-4546 . Fix DF reporting for AIX.
      (Bill Habermaas via cdouglas)
    35. HADOOP-5023 . Add Tomcat support to HdfsProxy.
      (Zhiyong Zhang via cdouglas)
    36. HADOOP-5317 . Provide documentation for LazyOutput Feature.
      (Jothi Padmanabhan via johan)
    37. HADOOP-5455 . Document rpc metrics context to the extent dfs, mapred, and jvm contexts are documented.
      (Philip Zeyliger via cdouglas)
    38. HADOOP-5358 . Provide scripting functionality to the synthetic load generator.
      (Jakob Homan via hairong)
    39. HADOOP-5442 . Paginate jobhistory display and added some search capabilities.
      (Amar Kamat via acmurthy)
    40. HADOOP-4842 . Streaming now allows specifiying a command for the combiner.
      (Amareshwari Sriramadasu via ddas)
    41. HADOOP-5196 . avoiding unnecessary byte[] allocation in SequenceFile.CompressedBytes and SequenceFile.UncompressedBytes.
      (hong tang via mahadev)
    42. HADOOP-4655 . New method FileSystem.newInstance() that always returns a newly allocated FileSystem object.
      (dhruba)
    43. HADOOP-4788 . Set Fair scheduler to assign both a map and a reduce on each heartbeat by default.
      (matei)
    44. HADOOP-5491 . In contrib/index, better control memory usage.
      (Ning Li via cutting)
    45. HADOOP-5423 . Include option of preserving file metadata in SequenceFile::sort.
      (Michael Tamm via cdouglas)
    46. HADOOP-5331 . Add support for KFS appends.
      (Sriram Rao via cdouglas)
    47. HADOOP-4365 . Make Configuration::getProps protected in support of meaningful subclassing.
      (Steve Loughran via cdouglas)
    48. HADOOP-2413 . Remove the static variable FSNamesystem.fsNamesystemObject.
      (Konstantin Shvachko via szetszwo)
    49. HADOOP-4584 . Improve datanode block reports and associated file system scan to avoid interefering with normal datanode operations.
      (Suresh Srinivas via rangadi)
    50. HADOOP-5502 . Documentation for backup and checkpoint nodes.
      (Jakob Homan via shv)
    51. HADOOP-5485 . Mask actions in the fair scheduler's servlet UI based on value of webinterface.private.actions.
      (Vinod Kumar Vavilapalli via yhemanth)
    52. HADOOP-5581 . HDFS should throw FileNotFoundException when while opening a file that does not exist.
      (Brian Bockelman via rangadi)
    53. HADOOP-5509 . PendingReplicationBlocks does not start monitor in the constructor.
      (shv)
    54. HADOOP-5494 . Modify sorted map output merger to lazily read values, rather than buffering at least one record for each segment.
      (Devaraj Das via cdouglas)
    55. HADOOP-5396 . Provide ability to refresh queue ACLs in the JobTracker without having to restart the daemon.
      (Sreekanth Ramakrishnan and Vinod Kumar Vavilapalli via yhemanth)
    56. HADOOP-4490 . Provide ability to run tasks as job owners.
      (Sreekanth Ramakrishnan via yhemanth)
    57. HADOOP-5697 . Change org.apache.hadoop.examples.Grep to use new mapreduce api.
      (Amareshwari Sriramadasu via sharad)
    58. HADOOP-5625 . Add operation duration to clienttrace.
      (Lei Xu via cdouglas)
    59. HADOOP-5705 . Improve TotalOrderPartitioner efficiency by updating the trie construction.
      (Dick King via cdouglas)
    60. HADOOP-5589 . Eliminate source limit of 64 for map-side joins imposed by TupleWritable encoding.
      (Jingkei Ly via cdouglas)
    61. HADOOP-5734 . Correct block placement policy description in HDFS Design document.
      (Konstantin Boudnik via shv)
    62. HADOOP-5657 . Validate data in TestReduceFetch to improve merge test coverage.
      (cdouglas)
    63. HADOOP-5613 . Change S3Exception to checked exception.
      (Andrew Hitchcock via tomwhite)
    64. HADOOP-5717 . Create public enum class for the Framework counters in org.apache.hadoop.mapreduce.
      (Amareshwari Sriramadasu via sharad)
    65. HADOOP-5217 . Split AllTestDriver for core, hdfs and mapred.
      (sharad)
    66. HADOOP-5364 . Add certificate expiration warning to HsftpFileSystem and HDFS proxy.
      (Zhiyong Zhang via cdouglas)
    67. HADOOP-5733 . Add map/reduce slot capacity and blacklisted capacity to JobTracker metrics.
      (Sreekanth Ramakrishnan via cdouglas)
    68. HADOOP-5596 . Add EnumSetWritable.
      (He Yongqiang via szetszwo)
    69. HADOOP-5727 . Simplify hashcode for ID types.
      (Shevek via cdouglas)
    70. HADOOP-5500 . In DBOutputFormat, where field names are absent permit the number of fields to be sufficient to construct the select query.
      (Enis Soztutar via cdouglas)
    71. HADOOP-5081 . Split TestCLI into HDFS, Mapred and Core tests.
      (sharad)
    72. HADOOP-5015 . Separate block management code from FSNamesystem.
      (Suresh Srinivas via szetszwo)
    73. HADOOP-5080 . Add new test cases to TestMRCLI and TestHDFSCLI
      (V.Karthikeyan via nigel)
    74. HADOOP-5135 . Splits the tests into different directories based on the package. Four new test targets have been defined - run-test-core, run-test-mapred, run-test-hdfs and run-test-hdfs-with-mr.
      (Sharad Agarwal via ddas)
    75. HADOOP-5771 . Implements unit tests for LinuxTaskController.
      (Sreekanth Ramakrishnan and Vinod Kumar Vavilapalli via yhemanth)
    76. HADOOP-5419 . Provide a facility to query the Queue ACLs for the current user.
      (Rahul Kumar Singh via yhemanth)
    77. HADOOP-5780 . Improve per block message prited by "-metaSave" in HDFS.
      (Raghu Angadi)
    78. HADOOP-5823 . Added a new class DeprecatedUTF8 to help with removing UTF8 related javac warnings. These warnings are removed in FSEditLog.java as a use case.
      (Raghu Angadi)
    79. HADOOP-5824 . Deprecate DataTransferProtocol.OP_READ_METADATA and remove the corresponding unused codes.
      (Kan Zhang via szetszwo)
    80. HADOOP-5721 . Factor out EditLogFileInputStream and EditLogFileOutputStream into independent classes.
      (Luca Telloli & Flavio Junqueira via shv)
    81. HADOOP-5838 . Fix a few javac warnings in HDFS.
      (Raghu Angadi)
    82. HADOOP-5854 . Fix a few "Inconsistent Synchronization" warnings in HDFS.
      (Raghu Angadi)
    83. HADOOP-5369 . Small tweaks to reduce MapFile index size.
      (Ben Maurer via sharad)
    84. HADOOP-5858 . Eliminate UTF8 and fix warnings in test/hdfs-with-mr package.
      (shv)
    85. HADOOP-5866 . Move DeprecatedUTF8 from o.a.h.io to o.a.h.hdfs since it may not be used outside hdfs.
      (Raghu Angadi)
    86. HADOOP-5857 . Move normal java methods from hdfs .jsp files to .java files.
      (szetszwo)
    87. HADOOP-5873 . Remove deprecated methods randomDataNode() and getDatanodeByIndex(..) in FSNamesystem.
      (szetszwo)
    88. HADOOP-5572 . Improves the progress reporting for the sort phase for both maps and reduces.
      (Ravi Gummadi via ddas)
    89. HADOOP-5839 . Fix EC2 scripts to allow remote job submission.
      (Joydeep Sen Sarma via tomwhite)
    90. HADOOP-5877 . Fix javac warnings in TestHDFSServerPorts, TestCheckpoint, TestNameEditsConfig, TestStartup and TestStorageRestore.
      (Jakob Homan via shv)
    91. HADOOP-5438 . Provide a single FileSystem method to create or open-for-append to a file.
      (He Yongqiang via dhruba)
    92. HADOOP-5472 . Change DistCp to support globbing of input paths.
      (Dhruba Borthakur and Rodrigo Schmidt via szetszwo)
    93. HADOOP-5175 . Don't unpack libjars on classpath.
      (Todd Lipcon via tomwhite)
    94. HADOOP-5620 . Add an option to DistCp for preserving modification and access times.
      (Rodrigo Schmidt via szetszwo)
    95. HADOOP-5664 . Change map serialization so a lock is obtained only where contention is possible, rather than for each write.
      (cdouglas)
    96. HADOOP-5896 . Remove the dependency of GenericOptionsParser on Option.withArgPattern.
      (Giridharan Kesavan and Sharad Agarwal via sharad)
    97. HADOOP-5784 . Makes the number of heartbeats that should arrive a second at the JobTracker configurable.
      (Amareshwari Sriramadasu via ddas)
    98. HADOOP-5955 . Changes TestFileOuputFormat so that is uses LOCAL_MR instead of CLUSTER_MR.
      (Jothi Padmanabhan via das)
    99. HADOOP-5948 . Changes TestJavaSerialization to use LocalJobRunner instead of MiniMR/DFS cluster.
      (Jothi Padmanabhan via das)
    100. HADOOP-2838 . Add mapred.child.env to pass environment variables to tasktracker's child processes.
      (Amar Kamat via sharad)
    101. HADOOP-5961 . DataNode process understand generic hadoop command line options (like -Ddfs.property=value).
      (Raghu Angadi)
    102. HADOOP-5938 . Change org.apache.hadoop.mapred.jobcontrol to use new api.
      (Amareshwari Sriramadasu via sharad)
    103. HADOOP-2141 . Improves the speculative execution heuristic. The heuristic is currently based on the progress-rates of tasks and the expected time to complete. Also, statistics about trackers are collected, and speculative tasks are not given to the ones deduced to be slow.
      (Andy Konwinski and ddas)
    104. HADOOP-5952 . Change "-1 tests included" wording in test-patch.sh.
      (Gary Murry via szetszwo)
    105. HADOOP-6106 . Provides an option in ShellCommandExecutor to timeout commands that do not complete within a certain amount of time.
      (Sreekanth Ramakrishnan via yhemanth)
    106. HADOOP-5925 . EC2 scripts should exit on error.
      (tomwhite)
    107. HADOOP-6109 . Change Text to grow its internal buffer exponentially, rather than the max of the current length and the proposed length to improve performance reading large values.
      (thushara wijeratna via cdouglas)
    108. HADOOP-2366 . Support trimmed strings in Configuration.
      (Michele Catasta via szetszwo)
    109. HADOOP-6099 . The RPC module can be configured to not send period pings. The default behaviour of sending periodic pings remain unchanged.
      (dhruba)
    110. HADOOP-6142 . Update documentation and use of harchives for relative paths added in MAPREDUCE-739.
      (Mahadev Konar via cdouglas)
    111. HADOOP-6148 . Implement a fast, pure Java CRC32 calculator which outperforms java.util.zip.CRC32.
      (Todd Lipcon and Scott Carey via szetszwo)
    112. HADOOP-6146 . Upgrade to JetS3t version 0.7.1.
      (tomwhite)
    113. HADOOP-6161 . Add get/setEnum methods to Configuration.
      (cdouglas)
    114. HADOOP-6160 . Fix releaseaudit target to run on specific directories.
      (gkesavan)
    115. HADOOP-6169 . Removing deprecated method calls in TFile.
      (hong tang via mahadev)
    116. HADOOP-6176 . Add a couple package private methods to AccessTokenHandler for testing.
      (Kan Zhang via szetszwo)
    117. HADOOP-6182 . Fix ReleaseAudit warnings
      (Giridharan Kesavan and Lee Tucker via gkesavan)
    118. HADOOP-6173 . Change src/native/packageNativeHadoop.sh to package all native library files.
      (Hong Tang via szetszwo)
    119. HADOOP-6184 . Provide an API to dump Configuration in a JSON format.
      (V.V.Chaitanya Krishna via yhemanth)
    120. HADOOP-6224 . Add a method to WritableUtils performing a bounded read of an encoded String.
      (Jothi Padmanabhan via cdouglas)
    121. HADOOP-6133 . Add a caching layer to Configuration::getClassByName to alleviate a performance regression introduced in a compatibility layer.
      (Todd Lipcon via cdouglas)
    122. HADOOP-6252 . Provide a method to determine if a deprecated key is set in config file.
      (Jakob Homan via suresh)
    123. HADOOP-5879 . Read compression level and strategy from Configuration for gzip compression.
      (He Yongqiang via cdouglas)
    124. HADOOP-6216 . Support comments in host files.
      (Ravi Phulari and Dmytro Molkov via szetszwo)
    125. HADOOP-6217 . Update documentation for project split.
      (Corinne Chandel via omalley)
    126. HADOOP-6268 . Add ivy jar to .gitignore.
      (Todd Lipcon via cdouglas)
    127. HADOOP-6270 . Support deleteOnExit in FileContext.
      (Suresh Srinivas via szetszwo)
    128. HADOOP-6233 . Rename configuration keys towards API standardization and backward compatibility.
      (Jithendra Pandey via suresh)
    129. HADOOP-6260 . Add additional unit tests for FileContext util methods. (Gary Murry via suresh).
    130. HADOOP-6309 . Change build.xml to run tests with java asserts.
      (Eli Collins via szetszwo)
    131. HADOOP-6326 . Hundson runs should check for AspectJ warnings and report failure if any is present
      (cos)
    132. HADOOP-6329 . Add build-fi directory to the ignore lists.
      (szetszwo)
    133. HADOOP-5107 . Use Maven ant tasks to publish the subproject jars.
      (Giridharan Kesavan via omalley)
    134. HADOOP-6343 . Log unexpected throwable object caught in RPC.
      (Jitendra Nath Pandey via szetszwo)
    135. HADOOP-6367 . Removes Access Token implementation from common.
      (Kan Zhang via ddas)
    136. HADOOP-6395 . Upgrade some libraries to be consistent across common, hdfs, and mapreduce.
      (omalley)
    137. HADOOP-6398 . Build is broken after HADOOP-6395 patch has been applied
      (cos)
    138. HADOOP-6413 . Move TestReflectionUtils to Common.
      (Todd Lipcon via tomwhite)
    139. HADOOP-6283 . Improve the exception messages thrown by FileUtil$HardLink.getLinkCount(..).
      (szetszwo)
    140. HADOOP-6279 . Add Runtime::maxMemory to JVM metrics.
      (Todd Lipcon via cdouglas)
    141. HADOOP-6305 . Unify build property names to facilitate cross-projects modifications
      (cos)
    142. HADOOP-6312 . Remove unnecessary debug logging in Configuration constructor.
      (Aaron Kimball via cdouglas)
    143. HADOOP-6366 . Reduce ivy console output to ovservable level
      (cos)
    144. HADOOP-6400 . Log errors getting Unix UGI.
      (Todd Lipcon via tomwhite)
    145. HADOOP-6346 . Add support for specifying unpack pattern regex to RunJar.unJar.
      (Todd Lipcon via tomwhite)
    146. HADOOP-6422 . Make RPC backend plugable, protocol-by-protocol, to ease evolution towards Avro.
      (cutting)
    147. HADOOP-5958 . Use JDK 1.6 File APIs in DF.java wherever possible.
      (Aaron Kimball via tomwhite)
    148. HADOOP-6222 . Core doesn't have TestCommonCLI facility.
      (cos)
    149. HADOOP-6394 . Add a helper class to simplify FileContext related tests and improve code reusability.
      (Jitendra Nath Pandey via suresh)
    150. HADOOP-4656 . Add a user to groups mapping service.
      (boryas, acmurthy)
    151. HADOOP-6435 . Make RPC.waitForProxy with timeout public.
      (Steve Loughran via tomwhite)
    152. HADOOP-6472 . add tokenCache option to GenericOptionsParser for passing file with secret keys to a map reduce job.
      (boryas)
    153. HADOOP-3205 . Read multiple chunks directly from FSInputChecker subclass into user buffers.
      (Todd Lipcon via tomwhite)
    154. HADOOP-6479 . TestUTF8 assertions could fail with better text.
      (Steve Loughran via tomwhite)
    155. HADOOP-6155 . Deprecate RecordIO anticipating Avro.
      (Tom White via cdouglas)
    156. HADOOP-6492 . Make some Avro serialization APIs public.
      (Aaron Kimball via cutting)
    157. HADOOP-6497 . Add an adapter for Avro's SeekableInput interface, so that Avro can read FileSystem data.
      (Aaron Kimball via cutting)
    158. HADOOP-6495 . Identifier should be serialized after the password is created In Token constructor
      (jnp via boryas)
    159. HADOOP-6518 . Makes the UGI honor the env var KRB5CCNAME.
      (Owen O'Malley via ddas)
    160. HADOOP-6531 . Enhance FileUtil with an API to delete all contents of a directory.
      (Amareshwari Sriramadasu via yhemanth)
    161. HADOOP-6547 . Move DelegationToken into Common, so that it can be used by MapReduce also.
      (devaraj via omalley)
    162. HADOOP-6552 . Puts renewTGT=true and useTicketCache=true for the keytab kerberos options.
      (ddas)
    163. HADOOP-6534 . Trim whitespace from directory lists initializing LocalDirAllocator.
      (Todd Lipcon via cdouglas)
    164. HADOOP-6559 . Makes the RPC client automatically re-login when the SASL connection setup fails. This is applicable only to keytab based logins.
      (Devaraj Das)
    165. HADOOP-6551 . Delegation token renewing and cancelling should provide meaningful exceptions when there are failures instead of returning false.
      (omalley)
    166. HADOOP-6583 . Captures authentication and authorization metrics.
      (ddas)
    167. HADOOP-6543 . Allows secure clients to talk to unsecure clusters.
      (Kan Zhang via ddas)
    168. HADOOP-6579 . Provide a mechanism for encoding/decoding Tokens from a url-safe string and change the commons-code library to 1.4.
      (omalley)
    169. HADOOP-6596 . Add a version field to the AbstractDelegationTokenIdentifier's serialized value.
      (omalley)
    170. HADOOP-6573 . Support for persistent delegation tokens.
      (Jitendra Pandey via shv)
    171. HADOOP-6594 . Provide a fetchdt tool via bin/hdfs.
      (jhoman via acmurthy)
    172. HADOOP-6589 . Provide better error messages when RPC authentication fails.
      (Kan Zhang via omalley)
    173. HADOOP-6599 Split existing RpcMetrics into RpcMetrics & RpcDetailedMetrics.
      (Suresh Srinivas via Sanjay Radia)
    174. HADOOP-6537 Declare more detailed exceptions in FileContext and AbstractFileSystem
      (Suresh Srinivas via Sanjay Radia)
    175. HADOOP-6486 . fix common classes to work with Avro 1.3 reflection.
      (cutting via tomwhite)
    176. HADOOP-6591 . HarFileSystem can handle paths with the whitespace characters.
      (Rodrigo Schmidt via dhruba)
    177. HADOOP-6407 . Have a way to automatically update Eclipse .classpath file when new libs are added to the classpath through Ivy.
      (tomwhite)
    178. HADOOP-3659 . Patch to allow hadoop native to compile on Mac OS X.
      (Colin Evans and Allen Wittenauer via tomwhite)
    179. HADOOP-6471 . StringBuffer -> StringBuilder - conversion of references as necessary.
      (Kay Kay via tomwhite)
    180. HADOOP-6646 . Move HarfileSystem out of Hadoop Common.
      (mahadev)
    181. HADOOP-6566 . Add methods supporting, enforcing narrower permissions on local daemon directories.
      (Arun Murthy and Luke Lu via cdouglas)
    182. HADOOP-6705 . Fix to work with 1.5 version of jiracli
      (Giridharan Kesavan)
    183. HADOOP-6658 . Exclude Private elements from generated Javadoc.
      (tomwhite)
    184. HADOOP-6635 . Install/deploy source jars to Maven repo.
      (Patrick Angeles via jghoman)
    185. HADOOP-6717 . Log levels in o.a.h.security.Groups too high
      (Todd Lipcon via jghoman)
    186. HADOOP-6667 . RPC.waitForProxy should retry through NoRouteToHostException.
      (Todd Lipcon via tomwhite)
    187. HADOOP-6677 . InterfaceAudience.LimitedPrivate should take a string not an enum.
      (tomwhite)
    188. HADOOP-678 . Remove FileContext#isFile, isDirectory, and exists.
      (Eli Collins via hairong)
    189. HADOOP-6515 . Make maximum number of http threads configurable.
      (Scott Chen via zshao)
    190. HADOOP-6563 . Add more symlink tests to cover intermediate symlinks in paths.
      (Eli Collins via suresh)
    191. HADOOP-6585 . Add FileStatus#isDirectory and isFile.
      (Eli Collins via tomwhite)
    192. HADOOP-6738 . Move cluster_setup.xml from MapReduce to Common.
      (Tom White via tomwhite)
    193. HADOOP-6794 . Move configuration and script files post split.
      (tomwhite)
    194. HADOOP-6403 . Deprecate EC2 bash scripts.
      (tomwhite)
    195. HADOOP-6769 . Add an API in FileSystem to get FileSystem instances based on users
      (ddas via boryas)
    196. HADOOP-6813 . Add a new newInstance method in FileSystem that takes a "user" as argument
      (ddas via boryas)
    197. HADOOP-6668 . Apply audience and stability annotations to classes in common.
      (tomwhite)
    198. HADOOP-6821 . Document changes to memory monitoring.
      (Hemanth Yamijala via tomwhite)
  • OPTIMIZATIONS    (12)
    1. HADOOP-5595 . NameNode does not need to run a replicator to choose a random DataNode.
      (hairong)
    2. HADOOP-5603 . Improve NameNode's block placement performance.
      (hairong)
    3. HADOOP-5638 . More improvement on block placement performance.
      (hairong)
    4. HADOOP-6180 . NameNode slowed down when many files with same filename were moved to Trash.
      (Boris Shkolnik via hairong)
    5. HADOOP-6166 . Further improve the performance of the pure-Java CRC32 implementation. (Tsz Wo (Nicholas), SZE via cdouglas)
    6. HADOOP-6271 . Add recursive and non recursive create and mkdir to FileContext.
      (Sanjay Radia via suresh)
    7. HADOOP-6261 . Add URI based tests for FileContext. (Ravi Pulari via suresh).
    8. HADOOP-6307 . Add a new SequenceFile.Reader constructor in order to support reading on un-closed file.
      (szetszwo)
    9. HADOOP-6467 . Improve the performance on HarFileSystem.listStatus(..).
      (mahadev via szetszwo)
    10. HADOOP-6569 . FsShell#cat should avoid calling unecessary getFileStatus before opening a file to read.
      (hairong)
    11. HADOOP-6689 . Add directory renaming test to existing FileContext tests.
      (Eli Collins via suresh)
    12. HADOOP-6713 . The RPC server Listener thread is a scalability bottleneck.
      (Dmytro Molkov via hairong)
  • BUG FIXES    (231)

不过,个人觉得hadoop的稳定性还是比hbase好,虽然hbase更新速度无比的快。

 

算了,还是言归正传,升级:

 

1、core-site.xml 不变

 

2、hdfs.site.xml 可以不变也可以把dfs.name.dir和dfs.data.dir更新成这样:

<property>
        <name>dfs.namenode.name.dir</name>
        <value>/data0/cloud/namenode/</value>
</description>

</property>

<property>
        <name>dfs.datanode.data.dir</name>
        <value>/data0/cloud/datanode/</value>
</property>

 不过,有个警告就是:

WARN org.apache.hadoop.hdfs.server.common.Util: Path /data0/cloud/namenode/ should be specified as a URI in configuration files. Please update hdfs configuration.
 

3、mapred-site.xml

<!--
<property>
        <name>mapred.job.tracker</name>
        <value>name.uc.uuwatch.com:9001</value>
</property>
-->

<property>
        <name>mapreduce.jobtracker.address</name>
        <value>tracker.uc.uuwatch.com:9001</value>
</property>
 

同步所有的配置文件到到所有的节点,然后启动hadoop

 

...bin/start-all.sh

 

你会发现脚本也更新了,比之前的分类更好,控制更加细致,很好!

 

不过,可惜的是namenode和secondnamenode不能启动,分析下日志会发现需要升级文件(原来文件格式也有一定的更改,优化了吗,呵呵):

ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem initialization failed.
java.io.IOException:
File system image contains an old layout version -18.
An upgrade to version -24 is required.
Please restart NameNode with -upgrade option.
 

4、OK 行了,执行名称节点的文件系统更新命令

 

.../bin/hadoop namenode -upgrade

 

好,到此成功启动节点。升级完毕!

接下来,我启动hbase0.20.6试试了。

 

特别提醒:备份你的hadoop数据,不要回不到原来的版本了。请查阅 bin/hadoop namenode 相关的命令以及数据节点的备份。

简单点:可以拷贝你的原始数据到新的文件夹,更改配置,使用新文件夹的数据升级尝试,失败了也不怕。数据完好

 

hbase0.20.6是基于hadoop0.20.2的  发现升级后 RPC对不住,文件系统对不住。

更改hbade的依赖,改RPC 去叉 重新编译 部署

 

 

另外:经过修改hbase可以启动 但是不能读写表,还没有修改完毕的原因。

0
2
分享到:
评论
2 楼 iammonster 2010-12-17  
david.org 写道
觉得楼主还可以把文章写的更详细点。 比如0.21.0提示警告我们应当如何来避免等。

另外,楼主有测试过0.21.0么,有机会写一个在0.21.0版本遇到的问题以及解决方案如何?:)


不好意思,采用的是这个分支编译的
http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-append/
1 楼 david.org 2010-09-22  
觉得楼主还可以把文章写的更详细点。 比如0.21.0提示警告我们应当如何来避免等。

另外,楼主有测试过0.21.0么,有机会写一个在0.21.0版本遇到的问题以及解决方案如何?:)

相关推荐

    cmd-bat-批处理-脚本-Screenshot.zip

    cmd-bat-批处理-脚本-Screenshot.zip

    升\降压电路的自计算表格 及 公式表达

    公式主要来自于德州仪器的datasheet 以及 一些电路公式表达式

    2025年自动检测生产线项目大数据研究报告.docx

    2025年自动检测生产线项目大数据研究报告.docx

    cmd-bat-批处理-脚本-deactivate.zip

    cmd-bat-批处理-脚本-deactivate.zip

    cmd-bat-批处理-脚本-happy05 1.zip

    cmd-bat-批处理-脚本-happy05 1.zip

    基于MATLAB的单相光伏并网逆变器仿真研究

    在单相光伏逆变器相关领域,涉及诸多关键环节。首先,光伏系统建模是基础,其中光伏板作为能量来源,其特性建模至关重要。最大功率点跟踪(MPPT)技术用于确保光伏板输出功率最大化,而Boost升压电路则负责将光伏板输出的较低电压提升至适合逆变器处理的水平。在控制策略方面,电压电流双闭环控制是实现稳定输出的关键,通过精确控制电压和电流,保证逆变器的性能。最终目标是使并网电流波形达到标准正弦波形,以满足电网接入要求。希望与大家深入交流这些内容,共同探讨技术细节与优化方案。

    cmd-bat-批处理-脚本-JoinDomain.zip

    cmd-bat-批处理-脚本-JoinDomain.zip

    cmd-bat-批处理-脚本-ppcp.zip

    cmd-bat-批处理-脚本-ppcp.zip

    最新修复版走路赚钱乐步2.0任务平台系统源码

    内附详细安装教程,亲测搭建无问题。 一、乐步交易流程----购买乐步糖果 方法一:在卖方市场选择合适的卖家或者用手机号定向查询特定卖家 步骤一:点击首页下方【交易中心】。 步骤二:点击【卖单列表】,选择合适的卖家或者用手机号搜索特定卖家,确定卖家之后点击该卖家后方的【购买】。 步骤三:点击之后,系统会显示该卖家的收款信息。按照系统显示的收款信息付款,(付款备注交易订单号)付款完成之后上传凭证,等待卖家确认收款并且支付糖果。 方法二:挂单买入糖果 步骤一:点击首页下方【交易中心】。 步骤二:点击【买单列表】--【发布买单】,填写购买糖果单价、数量、交易密码,点击【确定】,买单发布,等待匹配成交。 二、乐步交易流程----出售乐步糖果 方法一:在买方市场选择合适的买家或者用手机号定向查询特定买家 步骤一:点击首页下方【交易中心】。 步骤二:点击【买单列表】,选择合适的买家或者用手机号搜索特定买家,确定买家之后点击该买家后方的【出售】。 步骤三:点击之后,系统会提示买家付款,买家按照系统提示的账号给卖家付款(付款备注交易订单号),付款完成之后上传凭证,等待卖家确定并且支付糖果。 方法二:挂单卖出糖果 步骤一:点击首页下方【交易中心】。 步骤二:点击【卖单列表】--【发布卖单】,填写出售糖果单价、数量、验证码、交易密码,点击【确定】,卖单发布,等待匹配成交。

    多媒体技术及应用实验三(音视频编码转换软件开发)

    包括一个python源程序和一个.exe文件

    永磁同步电机速度环控制中的多种PID自整定技术及其应用 RBF神经网络

    内容概要:本文探讨了永磁同步电机(PMSM)速度环控制中多种PID自整定技术的应用,包括RBF神经网络PID、基于分解合并机制的RBF神经网络PID、基于小波神经网络的PID、粒子群算法优化PID、天牛须算法优化PID以及模糊PID自整定。每种技术都通过具体的数学模型和代码片段进行了详细的解释,旨在提升PMSM速度环控制的精度和效率。 适合人群:从事电机控制系统研究和开发的技术人员,尤其是对PID自整定技术和智能算法感兴趣的工程师。 使用场景及目标:适用于需要改进现有PMSM速度环控制系统的场合,目标是通过引入先进的PID自整定技术,提高系统的响应速度、稳定性和鲁棒性。 其他说明:文中不仅介绍了各种技术的基本原理,还提供了部分Python代码示例,帮助读者更好地理解和实践这些方法。同时,强调了不同技术之间的对比和优势,便于读者根据实际情况选择最合适的技术路径。

    桔子云测评小程序V1.1.1+前端.zip

    桔子云测评小程序,做专业测评系统小程序平台,支持微信小程序和抖音小程序,为网友提供心理测试,帮助你更好地了解自己的兴趣、性格、能力等特点,找到适合自己的成长之路。 盈利模式 流量主、激励视频解锁、单独付费测评、VIP会员付费等 功能特色 1、支持定义3种题型:单题型、多题型、 有因子多题型 2、 因子题型支持算法自定义分析 3、答案支持单独自定义分享海报 4、IOS端可设置联系客服索取激活码付费方式 5、支持量表导入 6、支持跳转其他小程序 7、支持分销推广 版本号:1.1.1 – 多开商业版 【修复】添加项目出现分类串联问题 【修复】快速测试出现结果错误问题 【优化】重新测试体验流程 toutiao前端、微信前端都需要提交审核

    2025年职称计算机考试题型及大纲.doc

    2025年职称计算机考试题型及大纲.doc

    cmd-bat-批处理-脚本-TV no signal color bars.zip

    cmd-bat-批处理-脚本-TV no signal color bars.zip

    实证数据-2009-2023上市公司-绿色治理绩效数据-社科经管.rar

    该数据集为2009-2023年中国上市公司绿色治理绩效(GGP)面板数据,覆盖1557家上市公司,数据来源于华证ESG评级、上市公司年报及社会责任报告等公开披露信息。核心指标包括污染物排放达标/未达标得分、突发环境事故、环境违法事件、ISO14001认证情况等12项环境治理指标,采用Janis-Fadner系数法计算综合绩效值(GGP),反映企业在环境合规、绿色运营及社会责任履行等方面的表现。数据经学术团队整理校验,参考《管理世界》等期刊的测度方法,可直接用于ESG表现、绿色创新等领域的实证研究。部分样本包含财务指标匹配数据,便于多维度分析。

    基于GJO-TCN-BiGRU-Attention的Matlab多变量时间序列预测算法及应用 BiGRU Matlab源码与数据集:GJO-TCN-BiGRU-Attention金豹算法优化多变量时间

    内容概要:本文介绍了利用Matlab实现的基于GJO-TCN-BiGRU-Attention算法的时间序列预测方法。该方法结合了时间卷积网络(TCN)、双向门控循环单元(BiGRU)以及注意力机制,用于多变量时间序列预测。文中详细描述了模型架构的设计思路及其各部分的功能,如TCN层用于捕捉长期依赖关系,BiGRU处理双向时序特征,而注意力层则赋予不同特征不同的权重。此外,还探讨了参数优化的方法——采用金豹优化(GJO)算法调整学习率、神经元数目、注意力机制的关键参数等超参数,并提供了完整的源代码和数据集。实验结果显示,该模型在电力负荷预测任务中表现出色,相比单一模型提升了大约8个百分点。 适用人群:对时间序列预测感兴趣的科研工作者、研究生及以上水平的数据科学家和技术爱好者。 使用场景及目标:适用于需要进行高精度多变量时间序列预测的应用场合,比如能源管理系统的负荷预测、金融市场趋势分析等领域。目标是提高预测准确性,降低误差。 其他说明:文中提到一些实践经验,例如避免TCN层数过多导致梯度爆炸的问题,推荐使用RobustScaler进行数据标准化处理,以及选择合适的序列滑窗长度等技巧。

    二十四节气之立秋节气介绍.pptx

    二十四节气之立秋节气介绍.pptx

    cmd-bat-批处理-脚本-FAA Program.zip

    cmd-bat-批处理-脚本-FAA Program.zip

    cmd-bat-批处理-脚本-lookup.zip

    cmd-bat-批处理-脚本-lookup.zip

    stm32CAN总线的源码例子

    stm32CAN总线的源码例子

Global site tag (gtag.js) - Google Analytics