腾讯云提示invalid pos, pos is bigger than filesize! pos: 0, file_size: 0错误
Posted Python,Docker,Linux
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了腾讯云提示invalid pos, pos is bigger than filesize! pos: 0, file_size: 0错误相关的知识,希望对你有一定的参考价值。
腾讯云提示invalid pos, pos is bigger than filesize! pos: 0, file_size: 0错误
起因
使用hdfs dfs -text xxx
命令提示下面错误,使用ls
可以看到其文件大小为0
```slf4j: see http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
17/11/23 11:30:39 INFO cosnative.NativeCosFileSystem: Opening ‘cosn://abc/_TEST‘ for reading
17/11/23 11:30:39 ERROR cosnative.NativeCosFileSystem: invalid pos, pos is bigger than filesize! pos: 0, file_size: 0
text: invalid pos, pos is bigger than filesize! pos: 0, file_size: 0
```
后续
出于好奇,尝试在Hadoop上创建了空文件,再使用text去查看内容,不会出现同样的问题
以上是关于腾讯云提示invalid pos, pos is bigger than filesize! pos: 0, file_size: 0错误的主要内容,如果未能解决你的问题,请参考以下文章
断言失败:第 22 行 pos 14: 'url != null': is not true
Flutter解决 Failed assertion: line 5142 pos 12: ‘!_debugLocked‘: is not true.