常见异常
rsync常见错误
sending incremental file list profile rsync: mkstemp "/etc/.profile.YF3qCk" failed: Permission denied (13) sent 693 bytes received 49 bytes 212.00 bytes/sec total size is 2010 speedup is 2.71 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
错误原因
1> 服务端配置文件中指定的用户和模块指定的目录的属主属组不同
2> 服务端模块指定的目录属组属组没有权限
-rw-r--r--. 1 root root 2010 1月 15 19:38 profile 都是root组和root用户;其他用户是没有权限的;要加sudo;
异常: Task not serializable Caused by: java.io.NotSerializableException: redis.clients.jedis.Jedis Serialization stack: - object not serializable (class: redis.clients.jedis.Jedis, value: redis.clients.jedis.Jedis@4dc45584) - field (class: com.atguigu.sparkmall.realtime.Req4RedisUserBlackList$$anonfun$main$1$$anonfun$apply$2, name: jedis$1, type: class redis.clients.jedis.Jedis) - object (class com.atguigu.sparkmall.realtime.Req4RedisUserBlackList$$anonfun$main$1$$anonfun$apply$2, <function1>)