自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Hama White 的博客

一个技术人的博客

  • 博客(97)
  • 资源 (12)
  • 收藏
  • 关注

原创 FlinkSQL行级权限解决方案及源码

FlinkSQL的行级权限解决方案及源码,支持面向用户级别的行级数据访问控制,即特定用户只能访问授权过的行,隐藏未授权的行数据。此方案是实时领域Flink的解决方案,类似离线数仓Hive中Ranger Row-level Filter方案。

2023-02-21 17:58:45 620 2

原创 FlinkSQL字段血缘解决方案及源码

FlinkSQL字段血缘解决方案及源码

2022-08-15 11:12:29 4897 12

原创 Autogen4j: the Java version of Microsoft AutoGen

Java version of Microsoft AutoGen, Enable Next-Gen Large Language Model Applications

2023-12-22 21:57:50 1264

原创 OpenAI Function Call Java Example

First, generates a ChatParameter instance that represents the given class. Then, invoke the OpenAI API and return the function name and parameters. Finally, execute functions through the FunctionExecutor.

2023-11-30 20:47:50 315

原创 LangChain Java - a framework for developing applications with LLMs

This is the Java language implementation of LangChain, which is a framework for developing applications powered by language models.

2023-06-14 09:56:48 2139

原创 FlinkSQL: Create function using jar-located in HDFS and use Hive UDF

FlinkSQL: Create function using jar-located in HDFS and use Hive UDF

2022-12-05 20:31:14 1178

原创 Flink-JDBC SQL Connector报错: java.lang.Integer cannot be cast to java.lang.Long

Flink-JDBC SQL Connector报错: java.lang.Integer cannot be cast to java.lang.Long

2022-11-22 20:49:12 2245

原创 Dubbo+Zookeeper ACL+ElasticJob

一. 问题背景当Zookeeper开启ACL后,Dubbo以及Elastic-Job需要如何配置来连接Zookeeper。Zookeeper ACL介绍参考文章:https://cloud.tencent.com/developer/article/1414462二. 组件版本zookeeper: 3.5.8 dubbo: 2.6.6 elastic-job: 1.0.6三. ZK设置ACL3.1 dubbodubbo默认是注册在/dubbo目录,下面以/dubbo目录为例说.

2020-11-23 20:42:46 971

原创 CDH5.12.0-HiveServer2-java.net.SocketTimeoutException: Read timed out

基于CDH构建离线数仓,在通过JDBC向HiveServer2提交作业时出现java.net.SocketTimeoutException: Read timed out 错误,导致大批量的作业失败,不能按时产生数据,已严重影响到业务运行。

2018-12-14 21:03:45 16475 1

原创 git用新分支替换掉master分支

背景因业务变化及系统升级,导致新分支远低于远程的master分支,而且老的master也不需要,需要用新的分支替换掉master分支。下文是把当前分支 saas_1.0.0 替换为master的步骤,仅供参考。操作步骤git上打dag,备份master分支 git的setting页面,把默认分支暂时替换为其他分支,如dev. git的setting->Protected Branches 把

2017-10-10 15:39:55 16756 2

原创 Hadoop Yarn(二)—— 创建Eclipse工程

1. 安装环境介绍如下: 系统:Ubuntu14.04 Hadoop版本:hadoop-2.5.0(点击下载) Java版本:openjdk-1.7.0_55 Eclipse版本:Release 4.4.0 (点击下载)

2014-10-30 20:24:51 4350 1

原创 LeetCode-String to Integer (atoi)

题目:https://oj.leetcode.com/problems/string-to-integer-atoi/Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please d

2014-09-10 17:56:15 1681

原创 LeetCode-Word Break II

题目:https://oj.leetcode.com/problems/word-break-ii/Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.Return a

2014-09-10 11:37:16 1186

原创 LeetCode-Word Break

题目:https://oj.leetcode.com/problems/word-break/Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.

2014-09-09 21:30:11 1625 3

原创 LeetCode-Binary Tree Postorder Traversal

题目:https://oj.leetcode.com/problems/binary-tree-postorder-traversal/Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3},

2014-09-07 21:55:03 1041

原创 LeetCode-Binary Tree Preorder Traversal

题目:https://oj.leetcode.com/problems/binary-tree-preorder-traversal/Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1

2014-09-07 21:00:36 956

原创 LeetCode-Remove Duplicates from Sorted List II

题目:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the origina

2014-09-07 20:39:52 1225

原创 LeetCode-Remove Duplicates from Sorted List

题目:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list/Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2,

2014-09-07 19:48:28 879

原创 LeetCode-Balanced Binary Tree

题目:https://oj.leetcode.com/problems/balanced-binary-tree/Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree i

2014-09-07 19:41:25 1030

原创 LeetCode-Binary Tree Level Order Traversal

题目:https://oj.leetcode.com/problems/binary-tree-level-order-traversal/Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For

2014-09-07 19:26:05 980

原创 LeetCode-Binary Tree Inorder Traversal

题目:https://oj.leetcode.com/problems/binary-tree-inorder-traversal/Given a binary tree, return the inorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1

2014-09-07 17:05:51 1919

原创 LeetCode-Combination Sum II

题目:https://oj.leetcode.com/problems/combination-sum-ii/Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums t

2014-09-07 16:35:19 1262

原创 LeetCode-Combination Sum

题目:https://oj.leetcode.com/problems/combination-sum/Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Th

2014-09-07 16:29:55 984

原创 LeetCode-Interleaving String

题目:https://oj.leetcode.com/problems/interleaving-string/Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.For example,Given:s1 = "aabcc",s2 = "dbbca",Whe

2014-09-07 14:36:13 1147

原创 LeetCode-Maximum Depth of Binary Tree

题目:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.

2014-09-07 13:40:33 600

原创 LeetCode-Path Sum II

题目:https://oj.leetcode.com/problems/path-sum-ii/Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree

2014-09-07 13:27:57 2043

原创 LeetCode-Pow(x, n)

题目:https://oj.leetcode.com/problems/powx-n/

2014-09-07 13:16:33 792

原创 LeetCode-Sort Colors

题目:https://oj.leetcode.com/problems/sort-colors/Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r

2014-09-07 13:02:42 822

原创 LeetCode-Distinct Subsequences

题目:https://oj.leetcode.com/problems/distinct-subsequences/Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which

2014-09-07 11:21:27 798

原创 LeetCode-Swap Nodes in Pairs

题目:https://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2

2014-09-07 10:34:41 969

原创 LeetCode-Sqrt(x)

题目:https://oj.leetcode.com/problems/sqrtx/Implement int sqrt(int x).Compute and return the square root of x.分析:erfenchazhao

2014-09-06 21:28:55 687

原创 LeetCode-Decode Ways

题目:https://oj.leetcode.com/problems/decode-ways/A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an enc

2014-09-06 21:08:22 964

原创 LeetCode-Minimum Path Sum

题目:https://oj.leetcode.com/problems/minimum-path-sum/Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along i

2014-09-06 17:01:30 635 1

原创 LeetCode-Maximum Subarray

题目:https://oj.leetcode.com/problems/maximum-subarray/

2014-09-06 16:19:45 569

原创 LeetCode-Edit Distance

题目:https://oj.leetcode.com/problems/edit-distance/Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)

2014-09-06 16:16:12 824

原创 LeetCode-Valid Parentheses

题目:https://oj.leetcode.com/problems/valid-parentheses/

2014-09-06 14:31:16 603

原创 LeetCode-Combinations

题目:https://oj.leetcode.com/problems/combinations/Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[

2014-09-06 13:58:16 834

原创 LeetCode-Sum Root to Leaf Numbers

题目:https://oj.leetcode.com/problems/sum-root-to-leaf-numbers/

2014-09-06 13:23:46 826

原创 LeetCode-3Sum

题目:https://oj.leetcode.com/problems/3sum/

2014-09-06 13:06:17 1215 2

原创 LeetCode-First Missing Positive

题目:https://oj.leetcode.com/problems/first-missing-positive/Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] retu

2014-09-06 11:44:08 654

hive-0.10.0

hive-0.10.0,里面还有源码,方便初学者学习。

2013-07-06

SQLServer的JDBC驱动

SQLServer2005的JDBC驱动,已在Windows平台用Eclipse测试通过。

2013-07-01

Ubuntu下OpenSSH安装包

1. Ubuntu平台 2. 64位操作系统 3. OPenSSH

2013-07-01

hadoop-eclipse-plugin-1.0.3.jar

在eclipse中,安装Mapreduce的插件,在linux平台上基于Eclipse-4.2测试通过。

2013-07-01

Hive和Hase配置

配置hive-0.9.0和hbase-0.94.1结合使用,部分内容如下: 1.拷贝hbase-0.94.1.jar和zookeeper-3.4.3.jar到hive/lib下。 注意:如hive/lib下已经存在这两个文件的其他版本,建议删除后使用hbase下的相关版本。 //在/home/hadoop/hive-0.9.0/lib 下,备份两个jar包 mv hbase-0.92.0.jar hbase-0.92.0.jar.bak mv zookeeper-3.4.3.jar zookeeper-3.4.3.jar.bak //拷贝hbase的jar包到/home/hadoop/hive-0.9.0/lib cp hbase-0.94.1.jar /home/hadoop/hive-0.9.0/lib/ (路径:/home/hadoop/hbase-0.94.1) cp zookeeper-3.4.3.jar /home/hadoop/hive-0.9.0/lib/

2013-07-01

zookeeper-3.4.5

Zookeeper-3.4.5,官网下载,有利于学习Zookeeper源码的爱好者。

2013-07-01

Hama 安装笔记

分布式模式的Hama安装笔记,内容如下: 1.参考“hadoop安装.txt”,完成hadoop的安装。节点信息如下: 192.168.1.160 hadoop-1 192.168.1.161 hadoop-2 192.168.1.162 hadoop-3 2.添加环境变量 在/etc/profile 或者/home/用户/.bash_profile 下添加: export HAMA_HOME=/home/hadoop/hama-0.6.0 export PATH=$PATH:$HAMA_HOME/bin

2013-07-01

hadoop-1.0.3

版本hadoop-1.0.3,官网上下载,自己已在Linux下成功搭建。

2013-07-01

Hama-0.6.0

1.Hama-0.6.0,里面含有安装版和源码两部分,与hadoop-1.0.3 结合使用,已在Linux(RHEL和Ubuntu)平台测试通过。 2. Hama是基于HDFS上的BSP模型实现。

2013-07-01

pig-0.7.0 hadoop

可以支持Hadoop-0.20.2,已在四个节点的Hadoop集群上运行成功。

2012-08-14

Hadoop-0.20.2

hadoop安装包,官网下载的。已在linux上安装验证,正常工作。

2012-08-14

hive-0.9.0

hive最新版本,支持hadoop-0.20.2

2012-08-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除