Python*

Welcome to the Dev Story/*HACK THE CODE*/ Sticky Thread

Working on modifications, mini-challenges or new levels?

Got a question or comment about the app?

You’re in the right place.

Post your questions (and answers) right here and we’ll help you as best we can.

To create Dev Story/*HACK THE CODE*/ we used the Intel XDK and Crosswalk with a couple of open-source javascript libraries.

Panda.js – HTML5 Game Engine
Pixi.js – 2D webGL renderer with canvas fallback

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元数据

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

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

1、服务端

HaxLogs.txt in root directory

Hello,

I couldn't find a way to install the HAXM Intel Emulator Accelerator on Windows 7 (86x64) with the log files properly contained in a user directory. For example, there is a HaxLogs.txt file in the root directory!

Since it's quite messy, could you please let me know how to fix this?

Latest version I tried was 5.2.

Thanks!

Tom

Integrating ICC compiled Static library into native part of the Android App.

Hi,

I have an android app. The app is basic in its functioning . 

I decided to add native code to this app. So I put a square function ( C code ) inside jni folder and compiled it . This shared library I used in the android app  and it works ok. 

I was given a statically ICC  compiled library that does something similar and asked to use it also .

Then  with Intel INDE installed already I decided to use the ICC for compiling the ndk part . So I followed the following link.

Интернет вещей из Сибири

Приглашаем вас принять участие в конкурсном отборе идей IoT проектов. Авторы самых интересных идей будут приглашены на Intel IoT мастер-класс и получат плату Intel® Edison для реализации прототипа.

  • Sviluppatori
  • Studenti
  • Linux*
  • Progetto Yocto
  • Internet degli oggetti
  • C/C++
  • HTML5
  • Java*
  • JavaScript*
  • Python*
  • Wyliodrin
  • Principiante
  • Intermedio
  • Internet degli oggetti
  • Iscriversi a Python*