首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏韦东山嵌入式

    ROOT FileSystem

    1.2K10编辑于 2022-05-05
  • 来自专栏开源心路

    Hdfs FileSystem Client

    一.示例 Java抽象类org.apache.hadoop.fs.FileSystem定义了hadoop的一个文件系统接口。 Hadoop类库中最终面向用户提供的接口类是FileSystem,该类是个抽象类,只能通过来类的get方法得到具体类。 fs = UserGroupInformation.createRemoteUser("hdfs").doAs(new PrivilegedExceptionAction<FileSystem>() { @Override public FileSystem run() throws Exception { return FileSystem.get(conf); } }); return fs; } catch

    33610编辑于 2023-06-30
  • 来自专栏码匠的流水账

    聊聊flink的FileSystem

    序 本文主要研究一下flink的FileSystem Exceeding+FS+request+capacity.jpg FileSystem flink-1.7.2/flink-core/src/ main/java/org/apache/flink/core/fs/FileSystem.java @Public public abstract class FileSystem { ​ / work. */ private static final Logger LOG = LoggerFactory.getLogger(FileSystem.class); ​ /** * @return The underlying Hadoop FileSystem. */ public org.apache.hadoop.fs.FileSystem 及MapRFileSystem都继承至HadoopFileSystem doc FileSystem

    2.4K30发布于 2019-03-02
  • 来自专栏大数据学习笔记

    Hadoop源码分析:FileSystem

    ,会从缓存中获取FileSystem对象。 /** Returns the FileSystem for this URI's scheme and authority. scheme.class whose value names the FileSystem class. = new ClientFinalizer(); private final Map<Key, FileSystem> map = new HashMap<Key, FileSystem>( private FileSystem getInternal(URI uri, Configuration conf, Key key) throws IOException{ FileSystem

    1.7K70发布于 2018-01-02
  • 来自专栏蓝天

    Exploring the ext3 Filesystem

    Multiple Journaling Modes in the ext3 Filesystem Aside from its compatibility with ext2 filesystem utilities entry for an ext3 filesystem. writeback - only logs changes to filesystem metadata but relies on the standard filesystem write process Using the "journal" mode requires that an ext3 filesystem write every change to a filesystem twice - Specifying the journaling mode used by an ext3 filesystem is done in the /etc/fstab entry for that filesystem

    61430发布于 2018-08-07
  • 来自专栏数据挖掘

    Spark No FileSystem for scheme file 解决方法

    在给代码带包成jar后,放到环境中运行出现如下错误: Exception in thread "main" java.io.IOException: No FileSystem for scheme: file at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2644) at org.apache.hadoop.fs.FileSystem.createFileSystem (FileSystem.java:2651) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92) at org.apache.hadoop.fs.FileSystem $Cache.getInternal(FileSystem.java:2687) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java :2669) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371) at org.apache.hadoop.fs.Path.getFileSystem

    3.2K40发布于 2019-07-02
  • 来自专栏开源部署

    Hadoop中的文件操作 FileSystem

      旧版本的写法 2.删除本地机器节点的命令 hdfs dfs -rmr  file:///home/myhadoop/test hadoop fs -rmr /temp/test 查看hadoop Filesystem hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-common/FileSystemShell.html java操作文件  org.apache.hadoop.fs.FileSystem Fileystem是一个抽象类,可以用它来实现获取本地文件系统或者集群文件系统 Configuration conf  = new Configuration();       Fileystem fs = FileSystem.get java.io.IOException; import java.net.URI; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem fs;    Configuration conf  = new Configuration();   fs = FileSystem.get(URI.create("hdfs://192.168.1.85

    66620编辑于 2022-06-29
  • 来自专栏jiajia_deng

    boost 库中 filesystem::path 功能

    boost filesystem::path 是对文件目录路径做处理的一个小的类,他把我们平时处理文件路径的繁琐功能简化到不能再简化,比如我们想获取一个路径中的文件名,只需要调用 object.filename #include #include <boost/filesystem.hpp> using namespace std; using namespace boost::filesystem; int main(int argc, char* argv[]) { boost::filesystem::path path_01( “C:\\boost_1_58_0\\stage\\lib\\libboost_atomic-vc120 string() << endl; return 0; } 要注意的是,以上代码如果在 vs 下编译的话,会提示: LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc120 -mt-gd-1_58.lib” 这说明他找不到外部依赖库的路径,你只需要在 vs 的项目属性中,添加整个 boost 外部依赖库的路径或者单独添加你需要的这个 libboost_filesystem-vc120

    1.1K20编辑于 2023-10-20
  • 来自专栏Android 研究

    OKHttp源码解析(五)--OKIO简介及FileSystem

    .Sink和Source及其实现 4.Segment和SegmentPool解析 5.不可变的ByteString 6.最核心的Buffer解析 7.okio中的超时机制 8.okio的优雅之处 9.FileSystem 九、FileSystem public interface FileSystem { /** The host machine's local file system. */ FileSystem SYSTEM = new FileSystem() { @Override public Source source(File file) throws FileNotFoundException readable directory. */ void deleteContents(File directory) throws IOException; } 看完这段代码大家就会知道,FileSystem 是一个接口,里面有一个他的实现类SYSTEM.所以可以FileSystem看成okhttp中文件系统对okio的桥接管理类。

    2.2K30发布于 2018-08-30
  • 来自专栏Pengcheng's Blog

    CentOS Please umount the filesystem and rectify the problem(s)

    背景 本地虚拟机因为断电重启之后,启动异常,报错: Please umount the filesystem and rectify the problem(s) Generating "/run/

    84820编辑于 2023-08-10
  • 来自专栏JavaEdge

    webpack打包报错:fileSystem.statSync is not a function

    大致是因为babel-loader和webpack的版本不兼容导致,可以对babel-loader做降级。

    58520发布于 2021-03-05
  • 来自专栏老高的技术博客

    File already exists: filesystem 解决办法

    今天用svn命令行提交版本的时候,碰到了这个比较麻烦的问题 svn: File already exists: filesystem 'xxx/svn/xxx/db' 搜了一下解决办法,都是需要两次commit

    1.2K20编辑于 2022-12-27
  • 来自专栏charlieroro

    删除lvm时出现Logical volume contains a filesystem in use

    环境中需要重新创建lvm:/dev/mapper/test-vg-test-storage,该lvm挂载在/data/prometheus下面,在删除出现"Logical volume contains a filesystem

    8K40发布于 2020-03-24
  • 来自专栏张善友的专栏

    利用SSH Filesystem实现远程文件系统

    对于安装了Openssh的系统来说,实际上这包含了几乎所有的开源类Unix操作系统,SSH Filesystem—作为可验证的方便安全的网络文件系统,是用来访问远程计算机上存储数据的完美选择,甚至于连在 SSH Filesystem是基于ssh的,所以需要在客户端计算机上安装和使用sshFS的话,就需要安装Openssh。 SSH Filesystem也是基于FUSE,也就是所谓的“用户空间文件系统”。FUSE在类Unix系统中提供了一个API,可以用于建立高级别的文件系统,并且可以实现不需要root权限连接的安全管理。 相关链接: SSH Filesystem win-sshfs - SSH(SFTP) filesystem for Windows ( GitHub ) Dokan library - user mode file system for windows ( GitHub ) FUSE: Filesystem in Userspace

    2K60发布于 2018-01-29
  • 来自专栏stream process

    kafka Disks and Filesystem(磁盘和文件系统)

    good throughput and not sharing the same drives used for Kafka data with application logs or other OS filesystem

    44820发布于 2020-03-04
  • 来自专栏IT码农

    Laravel5.2之Filesystem源码解析(上)

    总的来说,Filesystem模块的源码也比较简单,Laravel的Illuminate\Filesystem模块主要依赖于League\Flysystem这个Filesystem Abstractor 而不同的Filesystem SDK有着各自的具体增删改查逻辑,如AWS S3 SDK,Dropbox SDK,这些SDK都是通过Adapter Pattern装载入这个Filesystem Abstractor 同样,Filesystem Service有对应的FilesystemServiceProvider,帮助注册files和filesystem等Service: // Illuminate * Get a filesystem instance Contracts\Filesystem\Filesystem */ protected function adapt(FilesystemInterface $filesystem)

    1.8K31编辑于 2022-01-10
  • 来自专栏noteless

    JavaIO之File详解 以及FileSystem WinNTFileSystem简介

    FileSystem简介 File中有一个变量fs  类型为FileSystem compareTo方法依赖于他 而equals方法又依赖compareTo hashCode也是依赖他 所以说: compareTo   equals   hashCode   都依赖于 FileSystem fs ? 其实你在回头看看整个File文件中,很多个地方都出现了fs的身影 FileSystem到底是什么? 说白了又是接口来实现统一,不同的操作系统实现这个接口,就可以提供统一的表现形式 FileSystem是一个抽象类 ? 可以看得出来,标准化,借助的仍旧是fs  也就是FileSystem 在WinNTFileSystem 中的normalize方法就是标准化路径的一个对外接口 他还有两个相关的private方法,用于处理细节

    2.8K40发布于 2018-09-11
  • 来自专栏IT码农

    Laravel5.2之Filesystem源码解析(上)

    总的来说,Filesystem模块的源码也比较简单,Laravel的Illuminate\Filesystem模块主要依赖于League\Flysystem这个Filesystem Abstractor 而不同的Filesystem SDK有着各自的具体增删改查逻辑,如AWS S3 SDK,Dropbox SDK,这些SDK都是通过Adapter Pattern装载入这个Filesystem Abstractor 同样,Filesystem Service有对应的FilesystemServiceProvider,帮助注册files和filesystem等Service: // Illuminate * Get a filesystem instance Contracts\Filesystem\Filesystem */ protected function adapt(FilesystemInterface $filesystem)

    1.2K31发布于 2019-09-02
  • 来自专栏IT码农

    Laravel5.2之Filesystem源码解析(下)

    \Filesystem,利用Adapter Pattern来桥接不同的filesystem。 如AWS S3的filesystem SDK,只要该SDK的S3 Adapter实现了AdapterInterface,就可以作为\League\Flysystem\Filesystem文件系统驱动之一 再比如,假设阿里云的一个filesystem SDK名叫AliyunFilesystem SDK,想要把该SDK装入进\League\Flysystem\Filesystem作为驱动之一,那只要再做一个 Mount Manager:Mount Manager是一个封装类,简化对多种filesystem的CRUD操作,不管该filesystem是remote还是local。 (FilesystemInterface $filesystem) { $this->filesystem = $filesystem; }

    1.8K41编辑于 2022-01-10
  • 来自专栏用户7873631的专栏

    php参考手册Filesystem函数(完结了)

    <?php $path="F:/6/htdocs/cyg.php"; echo basename($path);//带有扩展名的文件名称 echo "
    "; echo basename($p

    1.9K30编辑于 2022-05-06
领券