首页 \ 问答 \ 带有已导入的类的Hadoop ClassNotFoundException(Hadoop ClassNotFoundException with class that's imported anymore)

带有已导入的类的Hadoop ClassNotFoundException(Hadoop ClassNotFoundException with class that's imported anymore)

我在Ubuntu 14.04上使用Hadoop 2.5.1和HBase 0.98.11

我曾经使用过HBase。 不幸的是,它没有按预期工作。 所以,我决定编写多输出和文件读取器而不是使用HBase。 在评论了所有与HBase相关的代码行(也不再将它们包含在javac -cp中)之后,我仍然得到异常“Error:java.lang.ClassNotFoundException:org.apache.hadoop.hbase.HBaseConfiguration”。

我也尝试格式化namenode,删除datanode和重新启动守护进程,但它不起作用。

我真的不知道为什么HBase仍然被包括在内,即使我评论并删除所有(我能想到的)HBase相关的东西。

提前感谢您的帮助。


I'm using Hadoop 2.5.1 with HBase 0.98.11 on Ubuntu 14.04

I was once using HBase. unfortunately it didn't work as expected. So, I decided to write the multioutput and filereader instead of using HBase. After commenting all HBase-related lines of code (also didn't include them in the javac -cp anymore), I still got the exception says "Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration".

I also tried format the namenode, delete datanode, and re-starting daemons, but it doesn't work.

I really have no idea why HBase still being included even if I comment and delete all (that I could think) of the HBase-related things.

Thank you in advance for every help.


原文:https://stackoverflow.com/questions/29897242
更新时间:2022-12-16 11:12

最满意答案

我知道这可能为时已晚,无法帮助您,但这是一个已知问题,他们的目标是修复V9.0。

https://gitlab.com/gitlab-org/gitlab-ce/issues/26360


I know this is likely too late to help you, but this is a known issue that they're targeting to fix in V9.0.

https://gitlab.com/gitlab-org/gitlab-ce/issues/26360

相关问答

更多
  • 是的,这是正确的行动顺序 做一个git pull origin master 如果没有冲突,请跳至5 解决冲突,保持适当的/远程更改 使用git add conflicted_file_1 conflicted_file_2 && git commit -m "Resolved merge conflicts"添加并提交冲突的文件git add conflicted_file_1 conflicted_file_2 && git commit -m "Resolved merge conflicts" 使用 ...
  • 更新 :在GitLab 8.10中引入了手动操作。 从手册中“手动操作是一种特殊类型的作业,不会自动执行,它们需要由用户明确启动,手动操作可以从管道,构建,环境和部署视图启动,您可以执行相同的手动行动多次“。 手动操作的一个示例用法是部署到生产。 此答案的其余部分仅适用于Gitlab 8.9及更早版本。 历史答案: 它看起来好像8.9版本的Gitlab中没有手动部署/发布版本。 一种可能性是有一个受保护的分支触发释放。 有关受保护分支的信息,请参阅: http : //doc.gitlab.com/ce/w ...
  • 这可能不是最好的解决方案,但我相信它会起作用。 您可以做的是获取使用HKSampleQuery手动添加的所有步骤。 这是一个例子。 func todayManuallyAddedStepsSteps(completion: (Double, NSError?) -> () ) { let type = HKSampleType.quantityTypeForIdentifier(HKQuantityTypeIdentifierStepCount) // The type of data ...
  • 要格式化NameNode,可以使用以下命令作为'hdfs'管理员用户运行: /usr/bin/hdfs namenode -format 要启动NameNode守护程序,请使用hadoop-daemon.sh脚本: /usr/hdp/current/hadoop-hdfs-namenode/../hadoop/sbin/hadoop-daemon.sh start namenode 如果您想引用特定的Hadoop配置目录,则“-config $ HADOOP_CONF_DIR”是一个可选参数。 For ...
  • 删除case语句中使用的单引号。 更改 case '1': 至 case 1: 其他人也一样。 '1'是字符常量,而1是整数常量。 使用ASCII编码时, '1'计算为数字49 ,显然不等于数字1 。 因此,这种case:当您输入1作为输入时,不执行分支。 Drop the single quotes used in the case statements. Change case '1': to case 1: Similarly for others. '1' is a characte ...
  • 我知道这可能为时已晚,无法帮助您,但这是一个已知问题,他们的目标是修复V9.0。 https://gitlab.com/gitlab-org/gitlab-ce/issues/26360 I know this is likely too late to help you, but this is a known issue that they're targeting to fix in V9.0. https://gitlab.com/gitlab-org/gitlab-ce/issues/26360
  • 问:问题2,我将走出困境,尽可能广泛地定义这个问题。 您似乎正在重新实现Spring Batch 。 Batch广泛支持定义和执行作业,持续工作进度和支持恢复。 它还具有记住状态和将状态从一个步骤移动到另一个步骤的背景,面向块的处理,以及通常经过深思熟虑和广泛的基础设施,包括一堆用于常见工作流的读者和编写者。 你可以随意忽略这个答案,我只是想把这个建议扔到那里,以免它让你大量工作。 re: question 2, I'm going to go out on a limb and take the wide ...
  • 正如评论中所指出的,默认情况下禁用内核调试,因为它允许(甚至在64位Windows上)加载未真正签名(自签名)的内核驱动程序。 (并禁用PatchGuard,等等。) 当然,关于“管理员仍然生活在用户地区”的评论是无稽之谈。 评论者应该继续阅读Raymond Chen关于“ 在 这个 密闭 舱口 的 另 一边 ”的帖子。 请允许我用他的话说: 我想你知道这个故事是如何结束的。 如果您拥有管理员权限,那么您已经位于密闭舱口的另一侧。 您可以使用管理员权限来设置机器这一事实并不令人感兴趣,因为作为管理员, 您已 ...
  • 一位比我更聪明的同事找到了答案。 Behave有一个命令行选项,不打印跳过的测试: -k 表现命令行选项 A co-worker, who is much smarter than I am, found the answer. Behave has a command line option to not print the skipped tests: -k Behave Command Line Options
  • 始终使用-Wall -Werror编译。 您的语句将在编译时被标记: warning: statement with no effect [-Wunused-value] Always compile with -Wall -Werror. Your statement would have been flagged at compile time: warning: statement with no effect [-Wunused-value]

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)