kudu

Kudu Deployment Script for ASP.NET Core 1.0

独自空忆成欢 提交于 2020-01-15 09:44:30
问题 I'm developing a ASP.NET Core 1.0 application using Visual Studio Code and I can't/won't use the built-in publishing tools in Visual Studio IDE. I have this working for ASP.NET 5 RC1 (dnx-clr-win-x86.1.0.0-rc1-update1) but I don't know how to update this to ASP.NET Core 1.0 and the tools does not seem to be updated yet. For ASP.NET 5 RC1 I used the azure-cli package to generate a deploy.cmd file with the following command: azure site deploymentscript --aspNet5 .\server\project.json -p .

How to increase timeout of Azure App Service for my ASP.NET Core 2.0 API

為{幸葍}努か 提交于 2020-01-15 03:26:15
问题 I have an ASP.NET Core 2.0 API I am deploying to an Azure App Service. This has been working fine until recently when I had to process a request that took longer than 2 minutes to complete and I got a 502 Bad Gateway stating "The specified CGI application encountered an error and the server terminated the process". This consistently happens when I hit the 2 minute mark on this process. My diagnostic logfile says 018-05-25 02:07:01.462 +00:00 [Error] Microsoft.AspNetCore.Diagnostics

如何使用python操作kudu

大兔子大兔子 提交于 2020-01-14 02:51:14
文章目录 环境准备 C++ Client Libraries Ubuntu Centos kudu-python 首次安装 复用安装 使用 总结 本文只讨论如何使用kudu提供的Python相关api,不涉及kudu自身环境的搭建和配置。 环境准备 注意:在安装kudu-python之前需要先确保已经配置好了kudu的C++ Client Libraries,并且不同的操作系统之间的依赖是需要分别配置的,这里只讨论Ubuntu和Centos。 C++ Client Libraries 详情请参考官网: kudu C++ Client Libraries Ubuntu sudo apt-get -y install autoconf automake curl flex g++ gcc gdb git \ krb5-admin-server krb5-kdc krb5-user libkrb5-dev libsasl2-dev libsasl2-modules \ libsasl2-modules-gssapi-mit libssl-dev libtool lsb-release make ntp \ openjdk-8-jdk openssl patch pkg-config python rsync unzip vim-common git clone https:/

Kafka+flume+kudu——kafka的数据通过flume加载到kudu中

天涯浪子 提交于 2020-01-12 08:13:43
预置条件 本文采用clouderaManage安装了kafka、flume、和kudu。注意:在安装kudu的时候一定需要时间同步。具体的时间同步设置方法请参照: https://blog.csdn.net/u014516601/article/details/81433594 。 本文kafka、flume和kudu的版本分别如下: <flume.version>1.6.0</flume.version> <kudu.version>1.7.0</kudu.version> 数据加载的流程 flume没有集成kudu,因此需要第三方jar包,因此依赖kudu-flume-sink-1.7.0-cdh5.16.1.jar,将该jar包放在flume的lib下面。如果基于clouderaManage安装,则可以直接放在/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/flume-ng/lib 编写kudusink类,实现KuduOperationsProductor接口,必须重写:configure、initialize、getOperations和close方法,下面是本文的实例代码: 三 .编辑flume的agent文件 kafka.sources = kafkasource kafka.sinks = kudusink1

How to reset the Kudu WebJob dashboard or logging?

那年仲夏 提交于 2020-01-12 05:40:07
问题 I'm trying to find details of the function executions of a particular WebJob. Unfortunately the function dashboard in Kudu is showing duplicates, exclamation marks, and no function executions for over two months. Trying to use the Azure CLI to list the WebJob's runs gives the error NotFound . The WebJob has been moved to a different web app which could be related. It doesn't matter if all of the logging history is wiped and everything reset, I would just like this working again! Any ideas?

Kudu、Hudi和Delta Lake的比较

不想你离开。 提交于 2020-01-07 16:29:02
目录 Kudu、Hudi和Delta Lake的比较 存储机制 读数据 更新数据 其他 如何选择合适的存储方案 Kudu、Hudi和Delta Lake的比较 kudu、hudi和delta lake是目前比较热门的支持行级别数据增删改查的存储方案,本文对三者之间进行了比较。 存储机制 kudu kudu的存储机制和hudi的写优化方式有些相似。 kudu的最新数据保存在内存,称为MemRowSet(行式存储,基于primary key有序), 当MemRowSet写满(默认1G或者120s)后flush到磁盘,形成DiskRowSet(列式存储)。 DiskRowSet包含baseData与DeltaStores两部分,DeltaStores包含一个DeltMemStore和多个DeltaFile, 后续的更新数据存放在DeltMemStore中,增长到一定程度后flush成DeltaFile文件。 kudu会定期执行compaction操作,将DeltaFile中的更新合并到DiskRowSet,或者合并DiskRowSet,清除已删除的数据,并减少DiskRowSet的数量。 hudi hudi维护了一个时间轴,记录了在不同时刻对数据集进行的所有操作。 hudi拥有2种存储优化,读优化适合读多写少的场景,写优化适合读少写多的场景。 读优化(Copy On Write)

Kudu : NonRecoverableException: Got out-of-order key column

喜你入骨 提交于 2020-01-07 12:05:27
1.美图 2.概述 kudu表的主键必须在建表语句中列的最前面,并且不为空,例如执行如下语句会报错: CREATE TABLE ` person ` ( ` id ` bigint , ` name ` string , PRIMARY KEY ( id , name ) ) PARTITION BY HASH ( name ) PARTITIONS 16 STORED AS KUDU ; 异常信息: ERROR : ImpalaRuntimeException : Error creating Kudu table 'impala::default.person' CAUSED BY : NonRecoverableException : Got out - of - order key column : name : "name" type : STRING is_key : true is_nullable : false cfile_block_size : 0 原因 https://kudu.apache.org/docs/known_issues.html#_primary_keys https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/Received-ImpalaRuntimeException

Azure websites with .NET 4.5.2

落花浮王杯 提交于 2020-01-02 16:19:28
问题 According to this semi-official answer here, Azure websites now supports .NET 4.5.2: https://stackoverflow.com/a/23554969/68231 However, when I visit the Kudu debug console, it doesn't show that .NET 4.5.2 is installed: And indeed, when I try to push out a website targeted to .NET 4.5.2, Kudu refuses to build and deploy the website in question, with errors like this: Areas\Integration\Controllers\TwitterController.cs(18,31): error CS0012: The type 'System.Object' is defined in an assembly

Azure websites with .NET 4.5.2

我的梦境 提交于 2020-01-02 16:19:10
问题 According to this semi-official answer here, Azure websites now supports .NET 4.5.2: https://stackoverflow.com/a/23554969/68231 However, when I visit the Kudu debug console, it doesn't show that .NET 4.5.2 is installed: And indeed, when I try to push out a website targeted to .NET 4.5.2, Kudu refuses to build and deploy the website in question, with errors like this: Areas\Integration\Controllers\TwitterController.cs(18,31): error CS0012: The type 'System.Object' is defined in an assembly

Error app/main.js 404 Not Found on Azure

非 Y 不嫁゛ 提交于 2019-12-25 04:26:05
问题 My angular2 application deployment is clean but when i try to access the url to the same i get the error : app/main.js 404 (Not Found). Also I see no javascript files being created on the go on KUDU. The typescripts files are not compiled as I could make of it. Should i build ts to js on local and then push the js files also on git? Could anyone please suggest what is required to do so. PS: My web.config file in root directory is as follows: <configuration> <system.web> <customErrors mode=