JavaScript*

Hadoop Hbase 升级

Hadoop HDFS 与Hbase升级笔记

由于之前使用了hadoop1.0.2,hbase 使用的是hbase-0.92.1 但是一次事故导致元数据丢失,且修复元数据的类本身有BUG
所以摆在眼前的只有两条路:
1、修改hbase源码重新编译 hbase 修复BUG
2、升级到下一个版本,且这个版本已经修复了此BUG 从release node中看到 0.92.2及以后版本均修复了此bug
  所以决定升级到最新的稳定版 hbase-0.94.3 而此版本的hbase 和hadoop-1.0.4 的兼容性最好,所以hadoop 连带升级到hadoop-1.0.4

1. Hadoop升级步骤:
 (1)停止集群上的所有MR任务,包括Hbase(如果Hbase在使用中,先停掉,接着是zookeeper)
 (2)停止DFS(1、2两步也可以在hbase和zookeeper关闭后使用stop-all.sh脚本直接关闭)
 (3)删除临时数据,即在core-site.xml中设置的hadoop.tmp.dir的value所文件目录下的文件
 (4)备份HDFS元数据

[HTML5游戏开发] 简单的《找不同汉字版》,来考考你的眼力吧

本文首发自我的csdn博客:http://blog.csdn.net/yorhomwang/article/details/8627830

一,准备工作

本次游戏开发需要用到lufylegend.js开源游戏引擎,版本我用的是1.5.2(现在最新的版本是1.6.0)。

引擎下载的位置:http://lufylegend.googlecode.com/files/lufylegend-1.5.2.rar

java socket 多线程网络传输多个文件

     由于需要研究了下用 java socket 传输文件,由于需要传输多个文件,因此,采用了多线程设计。客户端每个线程创建一个 socket 连接,每个 socket 连接负责传输一个文件,服务端的ServerSocket每次 accept 一个 socket 连接,创建一个线程用于接收客户端传来的文件。

1、服务端

Audio routing issue

Hi Team, I integrated the TLV320AIC3111 codec with intel Z3745 baytrail SOC. Driver is integrated and everything is working fine.

I have the pfw and xml file for routing, but there is not any alsa_amixer control for the right speaker, left speaker of my board are working but not right.

even i am changing the value using alsa command only left speaker bits are updated not for the right speaker. I got the files: pfw, xml, and codec driver

from intel SDK.

Fast Blur - Native in Android App

Hi, My name is David Coronel, I'm an android developer from Colombia and currently I'm developing an app which uses real time blur combined with a slide up panel so the blur can get above of an image and make it blurried behind, I've been able to accomplish this task by creating a RelativeLayout whit some render script, but it is higly memory-demandant and after some time using the app it gets laggy and finally gets killed by the OS becouse ended up with a very high memory heap

Searching on the web for other methods to do fast blur I've found this great blog post

Intel® XDK FAQs - Cordova

Q1: How do I set app orientation?

If you are using Cordova* 3.X build options (Crosswalk* for Android*, Android*, iOS*, etc.), you can set the orientation under the Projects panel > Select your project > Cordova* 3.X Hybrid Mobile App Settings - Build Settings. Under the Build Settings, you can set the Orientation for your desired mobile platform.  

  • Developers
  • Android*
  • Apple iOS*
  • Apple OS X*
  • Microsoft Windows* 8.x
  • HTML5
  • HTML5
  • JavaScript*
  • Intel® XDK
  • FAQ
  • html5 Intel XDK cordova
  • Subscribe to JavaScript*