fuse_trash.c:119: error: too few arguments to function 'hdfsDelete'

Circos在Windows下的安装教程 这里写自定义目录标题Circos简介安装Perl 的安装Circos安装安装及解压安装Modules测试用例官方文档 Circos简介 (来源官网:http://circos.ca/software/readme/ O.INTRODUCTION部分) Circos is a program for the generation of publication-quality, circularly composited renditions of genomic data and related annot 阅读详情

在hadoop 1.1.2中使用命令ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1编译fuse_dfs的时候出现如下错误:

compile:
     [echo] contrib: fairscheduler
    [javac] /root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/build-contrib.xml:188: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

check-libhdfs-fuse:

check-libhdfs-exists:

compile:
     [echo] contrib: fuse-dfs
     [exec] checking build system type... x86_64-unknown-linux-gnu
     [exec] checking host system type... x86_64-unknown-linux-gnu
     [exec] checking target system type... x86_64-unknown-linux-gnu
     [exec] checking for a BSD-compatible install... /usr/bin/install -c
     [exec] checking whether build environment is sane... yes
     [exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
     [exec] checking for gawk... gawk
     [exec] checking whether make sets $(MAKE)... yes
     [exec] checking for style of include used by make... GNU
     [exec] 
     [exec] checking for gcc... gcc
     [exec] checking for C compiler default output file name... a.out
     [exec] checking whether the C compiler works... yes
     [exec] checking whether we are cross compiling... no
     [exec] checking for suffix of executables... 
     [exec] checking for suffix of object files... o
     [exec] checking whether we are using the GNU C compiler... yes
     [exec] checking whether gcc accepts -g... yes
     [exec] checking for gcc option to accept ISO C89... none needed
     [exec] checking dependency style of gcc... gcc3
     [exec] checking for g++... g++
     [exec] checking whether we are using the GNU C++ compiler... yes
     [exec] checking whether g++ accepts -g... yes
     [exec] checking dependency style of g++... gcc3
     [exec] checking for ranlib... ranlib
     [exec] checking for bash... /bin/sh
     [exec] checking for perl... /usr/bin/perl
     [exec] checking for python... /usr/bin/python
     [exec] checking for ar... /usr/bin/ar
     [exec] checking for ant... /root/apache-ant-1.9.2/bin/ant
     [exec] checking how to run the C preprocessor... gcc -E
     [exec] checking for grep that handles long lines and -e... /bin/grep
     [exec] checking for egrep... /bin/grep -E
     [exec] checking for uid_t in sys/types.h... yes
     [exec] checking for ANSI C header files... yes
     [exec] checking for sys/types.h... yes
     [exec] checking for sys/stat.h... yes
     [exec] checking for stdlib.h... yes
     [exec] checking for string.h... yes
     [exec] checking for memory.h... yes
     [exec] checking for strings.h... yes
     [exec] checking for inttypes.h... yes
     [exec] checking for stdint.h... yes
     [exec] checking for unistd.h... yes
     [exec] checking type of array argument to getgroups... gid_t
     [exec] checking for size_t... yes
     [exec] checking for getgroups... yes
     [exec] checking for working getgroups... yes
     [exec] checking type of array argument to getgroups... (cached) gid_t
     [exec] checking Checking EXTERNAL_PATH set to... /root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/fuse-dfs
     [exec] checking whether to enable optimized build... yes
     [exec] checking whether to enable static mode... yes
     [exec] configure: creating ./config.status
     [exec] config.status: creating Makefile
     [exec] config.status: creating src/Makefile
     [exec] config.status: executing depfiles commands
     [exec] Making all in .
     [exec] fuse_trash.c: In function 'hdfsDeleteWithTrash':
     [exec] make[1]: Entering directory `/root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/fuse-dfs'fuse_trash.c:119: error: too few arguments to function 'hdfsDelete'
     [exec] 
     [exec] make[1]: *** [fuse_trash.o] Error 1make[1]: Nothing to be done for `all-am'.
     [exec] 
     [exec] make: *** [all-recursive] Error 1
     [exec] make[1]: Leaving directory `/root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/fuse-dfs'
     [exec] Making all in src
     [exec] make[1]: Entering directory `/root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/fuse-dfs/src'
     [exec] gcc -DPACKAGE_NAME=\"fuse_dfs\" -DPACKAGE_TARNAME=\"fuse_dfs\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"fuse_dfs\ 0.1.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DGETGROUPS_T=gid_t -DHAVE_GETGROUPS=1 -DGETGROUPS_T=gid_t -I.  -DPERMS=1 -D_FILE_OFFSET_BITS=64 -I/home/yjx/JDK/jdk1.6.0_24/include -I/root/hadoop-1.1.2/hadoop-1.1.2/src/c++/libhdfs/ -I/home/yjx/JDK/jdk1.6.0_24/include/linux/ -D_FUSE_DFS_VERSION=\"0.1.0\" -DPROTECTED_PATHS=\"\" -I/include   -Wall -O3 -MT fuse_trash.o -MD -MP -MF .deps/fuse_trash.Tpo -c -o fuse_trash.o fuse_trash.c
     [exec] make[1]: Leaving directory `/root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/fuse-dfs/src'

BUILD FAILED
/root/hadoop-1.1.2/hadoop-1.1.2/build.xml:706: The following error occurred while executing this line:
/root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/build.xml:30: The following error occurred while executing this line:
/root/hadoop-1.1.2/hadoop-1.1.2/src/contrib/fuse-dfs/build.xml:64: exec returned: 2

Total time: 49 seconds

根据错误提示“fuse_trash.c:119: error: too few arguments to function 'hdfsDelete',查看对应代码段:

 if (hdfsDelete(userFS, path)) {
    syslog(LOG_ERR,"ERROR: hdfs trying to delete the file %s",path);
    return -EIO;
  }
对比hdfs.h中hdfsDelete函数的定义:

int hdfsDelete(hdfsFS fs, const char* path, int recursive);

对策:

修改fuse_trash.c:119行,改为:

 if (hdfsDelete(userFS, path, 1)) {
    syslog(LOG_ERR,"ERROR: hdfs trying to delete the file %s",path);
    return -EIO;
  }

编译通过!

基于STM32、HAL库的IP5356M_DBZ_CA快充协议芯片简介及驱动程序设计 IP5356M_BATTERY_LEVEL_25 = 1, /* 电池电量25% */IP5356M_CHARGE_STATE_CHARGE_DONE = 4, /* 充电完成 */IP5356M_CHARGE_STATE_FAST = 2, /* 快速充电 */IP5356M_CHARGE_STATE_NONE = 0, /* 无充电 */IP5356M_CHARGE_STATE_PRE = 1, /* 预充电 *//* 延时1秒 */ 阅读详情

相关推荐

Win11下USB-Blaster驱动安装全攻略:Quartus用户必看(附常见问题解决)

本文详细介绍了在Windows 11系统下为Intel FPGA开发工具Quartus安装USB-Blaster驱动的完整流程与常见问题解决方案。针对Win11更严格的驱动签名验证机制,提供了从标准安装步骤到高级故障排查(如禁用驱动强制签名、使用测试模式)的实用指南,帮助用户快速解决驱动安装失败问题,确保FPGA编程调试顺利进行。

weixin_29256771的博客 668

error:too few arguments to function

今天写程序报错:error:too few arguments to function 意思是:函数参数调用错误 分析:调用时参数多了或者少了 解决方案:改????

被一个OIER遗弃的一堆烂代码 8万+

关于图像傅里叶变换得到的频谱图的通俗理解

傅里叶变换过程: 经过傅里叶变化且频谱居中化处理的频谱图: 1.如果将图像某一行上的灰度变化看作是一个离散信号,那么整张图像可以看作是一个分布在二维平面上的信号,因此图像可看作是空间域信号。傅里叶变换则是将图像灰度分布(空间域信号)变换到了频域上,给我们提供了观察图像的另一个视角。 2.图像的频谱图(频谱居中后)的中心点是频率最低点,以该点为圆心,不同半径的上的点表示不同的频率。这里的图像频率是指对应原图像中的某灰度曲线变化的快慢(这么说不严谨,但是按照上面第1点的角度,似乎也可以这么理解

daimashiren的博客 2万+

too few arguments to function(如何解决这种错误)

too few arguments to function

weixin_61701822的博客 8万+

FIFO Generate IP核使用——FIFO写操作详解及Status Flags页配置

本文介绍了FIFO的写操作及Status Flags页的配置信息。

u011565038的博客 2288

地图可视化类型大全

地图可视化类型大全: 散点地图 网格地图 聚合地图 气泡地图 热力图 Choropleth地图/分级设色地图/分级区域地图/着色地图/分级统计地图(百度百科这样翻译)/等值域地图/分段设色地图 Cartogram地图/变形地图/示意地图 规则形状地图 /RecMap/Demers Cartogram/瓷砖网格地图/DorlingMap 流型图(Flow Map)\流线图\流向图\轨迹地图 复合地图

codeuniverse的博客 3536

centos上安装postgresql(有网、离线)

有网环境:   参考链接:https://www.cnblogs.com/stulzq/p/7766409.htmlhttps://www.postgresql.org/download/linux/redhat/ 1、查看当前centos版本:    2、选择安装方式(https://www.postgresql.org/download/linux/redhat/):  3...

u010540913的博客 2179

数字后端实战指南 | Innovus Function ECO全流程解析(从LAB到Tapeout)

本文深入解析了在Cadence Innovus工具中进行Function ECO的全流程实战指南。从LAB环境搭建到Tapeout前的签核验证,详细拆解了Pre-mask与Post-mask ECO的核心步骤、关键命令(如ecoDesign)以及常见避坑方案。重点阐述了如何应对时序、DRC等挑战,并强调了备用单元管理与严格验证的重要性,是数字后端工程师提升综合能力的必备参考。

weixin_28452161的博客 644

测试 perl 安装_测试您的Perl安装

测试 perl 安装 In order to test our fresh installation of Perl, we'll need a simple Perl program. The first thing most new programmers learn is how to make the script say 'Hello World'. Let's look at a si...

cumao2792的博客 1229

001、专栏导论:为什么我们需要MLIR与算子中间表示

五年前,大家还在争论“TVM还是XLA”。现在回头看,TVM的Relay IR和XLA的HLO都是特定领域的IR,它们解决了各自的问题,但缺乏通用性。MLIR的出现,本质上是因为硬件异构化已经到了一个临界点——CPU、GPU、NPU、DSP、FPGA,每个硬件都有自己的指令集和内存层次,没有一个统一的IR能同时高效表达所有硬件的计算模式。MLIR的“方言+渐进式lowering”模式,恰好提供了这种灵活性。你可以为每个硬件定制一套方言,然后共享公共的lowering路径。

Jack010169的博客 490

GitHub 国内加速完全指南(最新):镜像、代理与优化技巧

在国内使用 GitHub 时,经常遇到 clone 慢、打开仓库卡、GitHub Actions 不稳定 等问题。下面是整理好的 GitHub 国内镜像和加速方法大全,高效使用 GitHub。

moton2017的博客 1万+

IAR编译出错:Error[Pe165]: too few arguments in function call

先找出具体出现的文件,然后把函数逐个注释掉,编译,找出相应出错的函数。该错误是由于调用的参数少了导致的,即使某些参数在都中情况下无效,但也要加上去。例如gpio_init (PORTx portx, u8 n, GPIO_CFG cfg, u8 data),在调用时,当设置成输入上拉时,data参数为0或1都没起作用,但调用是也需要加上:gpio_init(PORTB ,23 , GPI_UP,0

Szp 2万+

ESP32设备驱动-TB6612FNG直流电机驱动

TB6612FNG 是一款出色的双电机驱动器,非常适合将两个小型直流电机(例如微型金属齿轮电机)连接到微控制器,它还可以用于控制单个双极步进电机。 基于 MOSFET 的 H 桥比 L298N 和 Sanyo 的 LB1836M 等旧式驱动器中使用的基于 BJT 的 H 桥效率高得多,后者允许将更多电流输送到电机,而从逻辑电源汲取的电流更少 (对于真正低电压的应用,LB1836 仍然具有 TB6612 的优势)。

视觉与物联智能 3410

编译错误“Too many arguments to function call....”

运行编译过程中出现错误,并提示“Too many arguments to functions call, expected....”的信息,如图一。 遇到这种情况时,该如何解决呢?解决方法是将属性“Enable Strict Checking of objc_msgSend Calls”的值设置成“No”,即TARGETS——>项目——>Build Settings——>Apple LLVM

番薯大佬的专栏 7万+

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

Linux 查看perl环境,怎么知道Linux/Unix下没有安装perl运行环境

Cats萌萌连到Unix系统后,输入命令 which perl ,然后回车。如果装了perl,就能知道在什么路径下安装的,如果显示找不到,就没装。已经安装:[host@host]~% which perl/usr/bin/perl[host@host]~%未安装:[host@host]~% which perlperl not found[host@host]~%显示版本:[host@host]~...

weixin_33364945的博客 946

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

使用perl安装软件时,找不到perl

perl文件中第一行的#! /usr/bin/perl                    '#!'这个符号源自于unix,实际上它是告诉操作系统,这个文件中的内容,应该由存放在/usr/bin/下的perl程序执行。而在windows下这个是不需要的,而大家习惯于写上#!perl,只是为了表明这是个perl程序。 perl程序通常都被放在/usr/bin/perl 或/usr/l

raiet 4958

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

linux跑wrf.exe程序的前提,WRF模式上机手册

WRF模式上机手册一.安装1.登陆系统连接服务器:telnet 172.16.21.200(如果是用客户端软件,则直接用客户端软件进行登陆)输入用户名:***输入密码:*****创建自己的用户目录(如huangq):mkdir huangq进到用户自己的目录(如huangq):cd huangq2.编译安装WRF模式主体1)获取源程序包(获取源程序代码可从WRF的官方网站下载,http://www...

weixin_29485887的博客 539

Thinkphp3.2 Too few arguments to function Think\Controller::show()

今天用了TP3.2遇到了这个错 百度也找不到答案 发现是用了高版本的php >7.1 即会报错

上官hao的博客 7331

too few arguments

改为解决

Yunshang12345的博客 1万+

bug:error:too few arguments to function ‘fopen’

 #define File_Path "cpu_usepercentage_file.txt"

wyq393562305的专栏 9334

为何会出现error C2198: 'create' : too few actual parameters呢?

已知稀疏矩阵用三元组表示,编写C=A*B的算法。 #include #include #define smax 30 typedef int datatype; typedef struct { int i,j; //行标、列标 datatype e; //非零元素 }node; typ

陈刚编程心得与知识集 1万+

解决报错Too few arguments to function think\Validate::is(), 1 passed and at least 2 expected

这种报错,提示是缺少两个参数; 原因是没有使用自己创建的BaseValidate.php ,解决办法 use app\common\validate\BaseValidate; //并且 class SearchValidate extends BaseValidate { ...... }

善假于物 5030
上一篇: hadoop 2.2.0 fuse 编译及安装
下一篇: 基于QJM/Qurom Journal Manager/Paxos的HDFS HA原理及代码分析
迷途小码
博客等级 码龄19年 71粉丝 95原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值