Sqoop异常:Please set $ACCUMULO_HOME to the root of your Accumulo installation.
shell-init: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
Warning: /mnt/software/sqoop-1.4.6-cdh5.7.0/../hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
Warning: /mnt/software/sqoop-1.4.6-cdh5.7.0/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
shell-init: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
shell-init: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
chdir: 获取当前目录时出错: getcwd: 无法访问父目录: 没有那个文件或目录
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1166)
解决方案:配置Accumulo目录
[root@hdp1 /mnt/software/tmp]#mkdir /mnt/software/tmp/accumulo
[root@hdp1 /mnt/software/tmp]#export ACCUMULO_HOME=/mnt/software/tmp/accumulo
环境变量 也可以永久设置在 /etc/profile里面
[root@hdp1 /mnt/software/tmp]#vim /etc/profile
[root@hdp1 /mnt/software/tmp]#source /etc/profile
再次运行 解决错误
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· Blazor Hybrid适配到HarmonyOS系统
· Obsidian + DeepSeek:免费 AI 助力你的知识管理,让你的笔记飞起来!
· 解决跨域问题的这6种方案,真香!
· 一套基于 Material Design 规范实现的 Blazor 和 Razor 通用组件库
· 分享4款.NET开源、免费、实用的商城系统