Unable to load native-hadoop library for your platform解决方法

这篇具有很好参考价值的文章主要介绍了Unable to load native-hadoop library for your platform解决方法。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

Unable to load native-hadoop library for your platform解决方法

1、在执行hadoop命令的时候出现如下错误,不能加载Hadoop库

Unable to load native-hadoop library for your platform解决方法

2、使用 hadoop checknative -a 检查发现本地并没有库

Unable to load native-hadoop library for your platform解决方法

3、进入Hadoop下的 \lib\native 发现是并不是空文件夹

Unable to load native-hadoop library for your platform解决方法

4、所以?

该博客https://blog.csdn.net/aubekpan/article/details/863…的方法也就行不通了!

准备试试这个:https://wenku.baidu.com/view/9f526961650e52ea55189897.html

Unable to load native-hadoop library for your platform解决方法

将如下代码:

export HADOOP_OPTS="-Djava.library.path=$HADOOP_INSTALL/lib"

改为:

export HADOOP_OPTS="-Djava.library.path=$HADOOP_INSTALL/lib/native"

使用source ~/.bashrc使该配置生效。

5、再次使用 hadoop checknative -a 检查

Unable to load native-hadoop library for your platform解决方法

作者本人也不知道成功与否,往后看吧。。。

6、没有报错,但也还是不行

Unable to load native-hadoop library for your platform解决方法

7、以后懂了再说吧。。。


8、不是不显示,而是当前目录下没有文件!!!

Unable to load native-hadoop library for your platform解决方法

在该目录下新建了两个,所以就有了!!!文章来源地址https://www.toymoban.com/news/detail-435003.html

到了这里,关于Unable to load native-hadoop library for your platform解决方法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • eclipse was unable to locate its companion shared library

    eclipse was unable to locate its companion shared library

    当转移或者Copy工程时, eclipse was unable to locate its companion shared library eclipse.ini 里面的路径配置错误导致  

    2024年02月14日
    浏览(12)
  • 安装git出现了fatal: failed to load library ‘libcurl-4.dll‘

    安装git出现了fatal: failed to load library ‘libcurl-4.dll‘

    $ git push -u origin master fatal: failed to load library \\\'libcurl-4.dll\\\'  在自己的安装路径下找到 D:SoftwareGitmingw64binlibcurl-4.dll 如果发现没有 \\\'libcurl-4.dll\\\' 告诉你,可以重新安装Git了(可能在下载过程中损坏了)  这种情况也是最低级了,在安装Git过程中出现了( 中文了文件夹名 )

    2024年02月11日
    浏览(13)
  • 注册github账号发生错误:Unable to verify your captcha response

    注册github账号发生错误:Unable to verify your captcha response

    注册github账号时出现Unable to verify your captcha response. Please visit https://help.github.com/articles/troubleshooting-connectivity-problems/#troubleshooting-the-captcha for troubleshooting information. 提示访问给出的网页查找错误,但其实如下操作即可 1、打开文件浏览器,在C:WindowsSystem32driversetc位置找到hos

    2024年01月22日
    浏览(47)
  • Unable to connect to proxy. Your proxy appears to only use HTTP and not HTTPS, try changing your pro

    使用代理IP代码大概如下: proxy = { ‘http’:‘http://’ + proxy_host, ‘https’:‘https://’ + proxy_host } r = requests.get(url, proxies = proxy) requests.exceptions.ProxyError: HTTPSConnectionPool(host=‘stock2.finance.sina.com.cn’, port=443): Max retries exceeded with url: /futures/api/jsonp.php/=/InnerFuturesNewService.getFewMinLine

    2024年04月15日
    浏览(27)
  • java.lang.OutOfMemoryError- unable to create new native thread 问题排查

    java.lang.OutOfMemoryError- unable to create new native thread 问题排查

    最近连续两天大约凌晨3点,线上服务开始异常,出现OOM报错。且服务所在的物理机只能ping通,但是无法登录。报错信息如下: 根据日志OOM报错,怀疑是内存不足或内存泄露的原因,需要查看内存的使用情况。考虑到 JConsole 或 VisualVM 具有可视化界面,能看出历史变化趋势,

    2023年04月13日
    浏览(16)
  • 安卓安装失败:INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

    adb调试安装app到真机虚拟机时 apk的现有版本存在 未添加对应的CPU的类型库 清楚现有版本数据,卸载后再次安装     查询cpu信息 根据给出的cpu信息在build.gradle(app)中添加相应的类型库,同步即可 若未使用第三方jar包,在build.gradle(app)中的defaultConfig下增加以下编译配置

    2024年01月17日
    浏览(13)
  • 【React Native】运行Android时发生Required for building and installing your app on Android

    Android SDK - Required for building and installing your app on Android Versions found: N/A Version supported: 33.0.0 查看gradle-wrapper.properties内的gradle版本是否存在 可以配置为本地路径 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=file:///D:/Deve

    2024年02月03日
    浏览(19)
  • 安装APK提示Failure [INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2]

    安装APK提示Failure [INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2]

    Failed to extract native libraries, res=-2 最近升级了项目的gradle版本,打包的apk,通过adb安装,提示Failure [INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2] 将apk放入Android studio中发现,Androidmanifest文件的application节点多了一个属性 android:extractNativeLibs=\\\"false\\\" ,查询之后,才知道这

    2023年04月09日
    浏览(15)
  • 克隆项目的时候,出现错误fatal: failed to load library ‘libcurl-4.dll‘怎么解决

    rt,这个该怎么解决,搜了很多博客,都没有答 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ git安装路径不能出现中文,卸载

    2024年02月14日
    浏览(12)
  • VNC Viewer 远程 Unable to connect to VNC Server using your chosen securitysetting. 问题解决

    VNC Viewer 远程 Unable to connect to VNC Server using your chosen securitysetting. 问题解决

    VNC Viewer 远程 Ubuntu桌面时(VNC服务端为Vino)可能出现以下问题: Unable to connect to VNC Server using your chosen security setting. Either upgrade VNC Server to a more recent version from RealVNC, or select a weaker level of encryption. 之所以出现这种问题是因为,远程连接Ubuntu桌面,在gnome桌面环境下,默认有一

    2024年02月16日
    浏览(12)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包