码迷,mamicode.com
首页 >  
搜索关键字:tmp    ( 7796个结果
impala大数据量查询/tmp/impala-scratch创建异常
使用impala做大数据量查询distinct的时候报如下错误WARNINGS:Createfile/tmp/impala-scratch/24414dab2c19caca:e54b206c5ab149d_24414dab2c19caca:e54b206c5ab149f_91001337-9d70-4c93-84ce-e7916c1ae804failedwitherrno=2description=Error(2):Nosuchfileordirectory Backend4..
分类:其他好文   时间:2015-08-17 12:17:33    阅读次数:315
linux系统下mysql配置优化初学习入门
学习mysql一段时间了,在mysql配置优化方面做一下总结,mysql优化要考虑到多方面,多因素。与服务器的硬件,当前运行的环境都息息相关。下面来说一下mysql的配置优化: [client] port=3306 socket=/tmp/mysql.sock [mysqld] port=3306 socket=/tmp/mysql.sock basedir=/usr/loc..
分类:数据库   时间:2015-08-17 12:15:24    阅读次数:157
S3C2440 nfs 的使用
Linux主机需要先安装并开启 NFS 服务, NFS 服务的安装配置启动参考http://blog.csdn.net/u011641885/article/details/47696143 中 的安装 nfs服务。 使用 uboot 上的 nfs 命令替代 tftp 下载 根文件系统 nfs 30000000 192.168.1.106:/work/nfs_root/tmp/fs.y...
分类:其他好文   时间:2015-08-17 01:11:16    阅读次数:641
GO语言做文件服务器小总结
package main import ( "net/http" ) func main() { http.Handle("/tmpfiles/", http.StripPrefix("/tmpfiles/", http.FileServer(http.Dir("/tmp")))) } 这样的话URL里的tmpfiles在实际的服务器的目录下就被忽略了,转而是/tmp这个目录来...
分类:编程语言   时间:2015-08-17 01:10:08    阅读次数:128
NUBT 1580 素数分解 母函数法解
#include #include #include #include using namespace std; int pre[209]; int ans[209]; int tmp[409]; int main(){ int sq= (int)sqrt(209.0); for(int i = 0;i <= 2...
分类:其他好文   时间:2015-08-16 15:15:19    阅读次数:135
二叉树的遍历,递归,迭代,层序,中序,前序,后序
#include#include#include#include#includeusing namespace std;struct node{ int key; node *left, *right;};void insertTree(node* &root,int val){ node* tmp...
分类:其他好文   时间:2015-08-16 10:44:47    阅读次数:122
关于Linux系统清理/tmp/文件夹的原理
转自:http://www.opsers.org/base/clean-up-on-the-linux-system-tmp-folder-you-may-want-to-know.html我们知道,在Linux系统中/tmp文件夹里面的文件会被清空,至于多长时间被清空,如何清空的,可能大家知识的就...
分类:系统相关   时间:2015-08-16 07:03:35    阅读次数:215
nfs 挂载
nfs挂载试验172.16.74.105 nfsclient172.16.74.106 nfsservernfs上第一步: nfsserver上安装(nfsclient上也需要安装) yuminstallnfs-utils第二步: nfs配置文件 #cat/etc/exports /tmp*(rw,sync,no_root_squash)第三步: nfs启动 #/etc/init.d/rpcbindstart #/etc/init.d/nfs..
分类:其他好文   时间:2015-08-16 00:52:08    阅读次数:119
fabric上下文管理器(context mangers)
1.如何调用该方法:fromfabricimportcontext_managersps:上下文管理需要用with关键字启用:如:withcontext_managers.cd(‘/tmp‘):run(...)这样才能保证是在该目录下操作。2.方法:(1)withcontext_managers.cd(一个目录的路径):指定进入一个目录,然后在该目录下执行操作。例..
分类:其他好文   时间:2015-08-16 00:49:39    阅读次数:132
实现reverse字符串
不分配额外空间,直接就地反转字符串,另外还要注意null字符。 void reverse(char *str) { char *end = str; char tmp; if (str) { while (*end)//找出字符串末尾 { ++end; } --end;//回退一个字符,最后一个为null的字符 /*从字符串首尾开始交换两个字符,直到两个指针在中间碰头*...
分类:其他好文   时间:2015-08-15 23:10:37    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!