Skip to content

Commit

Permalink
update pytorch cpp extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wnma3mz committed Dec 10, 2023
1 parent b65cb7a commit b7dce6a
Show file tree
Hide file tree
Showing 223 changed files with 2,598 additions and 6,015 deletions.
6 changes: 3 additions & 3 deletions 1970/01/01/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="Показати/приховати меню">
<div class="toggle" aria-label="تشغيل شريط التصفح">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="Змінено:2020-04-29 22:22:54" itemprop="dateModified" datetime="2020-04-29T22:22:54+08:00">2020-04-29</time>
<time title="عُدل:2020-04-29 22:22:54" itemprop="dateModified" datetime="2020-04-29T22:22:54+08:00">2020-04-29</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down Expand Up @@ -303,7 +303,7 @@ <h3 id="deploy-to-remote-sites">Deploy to remote sites</h3>
<div class="post-nav">
<div class="post-nav-item"></div>
<div class="post-nav-item">
<a href="/hexo_blog/2017/04/09/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/" rel="next" title="Hadoop伪分布式安装(Centos7)">
<a href="/hexo_blog/2017/04/09/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/" rel="next" title="Hadoop伪分布式安装(Centos7)">
Hadoop伪分布式安装(Centos7) <i class="fa fa-chevron-right"></i>
</a></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@
<meta name="description" content="这篇文章主要介绍了Hadoop的伪分布式安装和一些基础操作">
<meta property="og:type" content="article">
<meta property="og:title" content="Hadoop伪分布式安装(Centos7)">
<meta property="og:url" content="https://wnma3mz.github.io/2017/04/09/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/index.html">
<meta property="og:url" content="https://wnma3mz.github.io/2017/04/09/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/index.html">
<meta property="og:site_name" content="Wnma&#39;s Blogs">
<meta property="og:description" content="这篇文章主要介绍了Hadoop的伪分布式安装和一些基础操作">
<meta property="og:locale">
<meta property="og:image" content="https://raw.githubusercontent.com/wnma3mz/blog_posts/master/imgs/hadoop/wKiom1SFSNnAeaEUAADD3ZcjTjw828.jpg">
<meta property="article:published_time" content="2017-04-09T09:42:00.000Z">
<meta property="article:modified_time" content="2023-12-07T01:19:31.255Z">
<meta property="article:modified_time" content="2023-12-10T04:27:39.499Z">
<meta property="article:author" content="wnma3mz">
<meta property="article:tag" content="Linux">
<meta property="article:tag" content="Hadoop">
<meta property="article:tag" content="大数据">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://raw.githubusercontent.com/wnma3mz/blog_posts/master/imgs/hadoop/wKiom1SFSNnAeaEUAADD3ZcjTjw828.jpg">

<link rel="canonical" href="https://wnma3mz.github.io/2017/04/09/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/">
<link rel="canonical" href="https://wnma3mz.github.io/2017/04/09/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/">


<script id="page-configurations">
Expand Down Expand Up @@ -94,7 +94,7 @@
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="Показати/приховати меню">
<div class="toggle" aria-label="تشغيل شريط التصفح">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
Expand Down Expand Up @@ -202,7 +202,7 @@ <h1 class="site-title">Wnma's Blogs</h1>


<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://wnma3mz.github.io/2017/04/09/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/">
<link itemprop="mainEntityOfPage" href="https://wnma3mz.github.io/2017/04/09/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/">

<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="https://avatars.githubusercontent.com/u/23001152?s=460&u=dacc012cd237ac86458d888b3723d1d495cb1aa4&v=4">
Expand Down Expand Up @@ -233,7 +233,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="Змінено:2023-12-07 09:19:31" itemprop="dateModified" datetime="2023-12-07T09:19:31+08:00">2023-12-07</time>
<time title="عُدل:2023-12-10 12:27:39" itemprop="dateModified" datetime="2023-12-10T12:27:39+08:00">2023-12-10</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down Expand Up @@ -289,7 +289,7 @@ <h2 id="测试">测试</h2>
<p>在本地新建一个文件,如在<code>/home/user/</code>下新建<code>words.txt</code>,内容如下 <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">hello world</span><br><span class="line">hello hadoop</span><br><span class="line">hello csdn</span><br><span class="line">hello</span><br></pre></td></tr></table></figure> 正式进行测试。命令如下: <figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#在hdfs根目录下新建test目录</span></span><br><span class="line">bin/hdfs dfs -mkdir /<span class="built_in">test</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#查看hdfs根目录下的目录结构</span></span><br><span class="line">bin/hdfs dfs -ls /</span><br><span class="line"></span><br><span class="line"><span class="comment">#将本地文件上传至/test/目录下</span></span><br><span class="line">bin/hdfs dfs -put /home/user/words.txt /<span class="built_in">test</span>/</span><br><span class="line"></span><br><span class="line"><span class="comment">#运行wordcount</span></span><br><span class="line">bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar wordcount /<span class="built_in">test</span>/words.txt /<span class="built_in">test</span>/out</span><br><span class="line"></span><br><span class="line"><span class="comment">#在/test/目录下生成了一个名为out的文件目录,查看一下/out/目录下的文件</span></span><br><span class="line">bin/hdfs dfs -ls /<span class="built_in">test</span>/out</span><br><span class="line"></span><br><span class="line"><span class="comment">#结果保存在part-r-00000,查看一下运行结果</span></span><br><span class="line">bin/hdfs fs -cat /<span class="built_in">test</span>/out/part-r-00000</span><br></pre></td></tr></table></figure></p>
<h2 id="hdfs的常用操作命令">HDFS的常用操作命令</h2>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#常用操作:</span></span><br><span class="line"><span class="comment">#HDFS shell</span></span><br><span class="line"><span class="comment">#查看帮助</span></span><br><span class="line">hadoop fs -<span class="built_in">help</span> &lt;cmd&gt;</span><br><span class="line"><span class="comment">#上传</span></span><br><span class="line">hadoop fs -cat &lt;hdfs上的路径&gt;</span><br><span class="line"><span class="comment">#查看文件列表</span></span><br><span class="line">hadoop fs -ls /</span><br><span class="line"><span class="comment">#下载文件</span></span><br><span class="line">hadoop fs -get &lt;hdfs上的路径&gt; &lt;linux上文件&gt;</span><br></pre></td></tr></table></figure>
<p>下一篇:<a href="/hexo_blog/2017/05/07/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/" title="在Hadoop基础上Hive的安装">在Hadoop基础上Hive的安装</a></p>
<p>下一篇:<a href="/hexo_blog/2017/05/07/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/" title="在Hadoop基础上Hive的安装">在Hadoop基础上Hive的安装</a></p>

</div>

Expand All @@ -305,7 +305,7 @@ <h2 id="hdfs的常用操作命令">HDFS的常用操作命令</h2>
</li>
<li class="post-copyright-link">
<strong>本文链接:</strong>
<a href="https://wnma3mz.github.io/2017/04/09/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/" title="Hadoop伪分布式安装(Centos7)">https://wnma3mz.github.io/2017/04/09/Hadoop伪分布式安装(Centos7)/</a>
<a href="https://wnma3mz.github.io/2017/04/09/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/" title="Hadoop伪分布式安装(Centos7)">https://wnma3mz.github.io/2017/04/09/环境安装/Hadoop伪分布式安装(Centos7)/</a>
</li>
<li class="post-copyright-license">
<strong>版权声明: </strong>本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-Hans" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处!
Expand All @@ -331,7 +331,7 @@ <h2 id="hdfs的常用操作命令">HDFS的常用操作命令</h2>
<i class="fa fa-chevron-left"></i> Hello World
</a></div>
<div class="post-nav-item">
<a href="/hexo_blog/2017/05/07/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/" rel="next" title="在Hadoop基础上Hive的安装">
<a href="/hexo_blog/2017/05/07/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/" rel="next" title="在Hadoop基础上Hive的安装">
在Hadoop基础上Hive的安装 <i class="fa fa-chevron-right"></i>
</a></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="description" content="这篇文章主要介绍了Hive在Hadoop上的安装及一些基本的Hive操作">
<meta property="og:type" content="article">
<meta property="og:title" content="在Hadoop基础上Hive的安装">
<meta property="og:url" content="https://wnma3mz.github.io/2017/05/07/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/index.html">
<meta property="og:url" content="https://wnma3mz.github.io/2017/05/07/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/index.html">
<meta property="og:site_name" content="Wnma&#39;s Blogs">
<meta property="og:description" content="这篇文章主要介绍了Hive在Hadoop上的安装及一些基本的Hive操作">
<meta property="og:locale">
Expand All @@ -37,7 +37,7 @@
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://raw.githubusercontent.com/wnma3mz/blog_posts/master/imgs/hadoop/20170612195815151.png">

<link rel="canonical" href="https://wnma3mz.github.io/2017/05/07/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/">
<link rel="canonical" href="https://wnma3mz.github.io/2017/05/07/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/">


<script id="page-configurations">
Expand Down Expand Up @@ -94,7 +94,7 @@
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="Показати/приховати меню">
<div class="toggle" aria-label="تشغيل شريط التصفح">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
Expand Down Expand Up @@ -202,7 +202,7 @@ <h1 class="site-title">Wnma's Blogs</h1>


<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://wnma3mz.github.io/2017/05/07/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/">
<link itemprop="mainEntityOfPage" href="https://wnma3mz.github.io/2017/05/07/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/">

<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="https://avatars.githubusercontent.com/u/23001152?s=460&u=dacc012cd237ac86458d888b3723d1d495cb1aa4&v=4">
Expand Down Expand Up @@ -233,7 +233,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="Змінено:2023-12-05 09:50:48" itemprop="dateModified" datetime="2023-12-05T09:50:48+08:00">2023-12-05</time>
<time title="عُدل:2023-12-05 09:50:48" itemprop="dateModified" datetime="2023-12-05T09:50:48+08:00">2023-12-05</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
Expand Down Expand Up @@ -357,7 +357,7 @@ <h3 id="转换类型">转换类型</h3>
</li>
<li class="post-copyright-link">
<strong>本文链接:</strong>
<a href="https://wnma3mz.github.io/2017/05/07/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/" title="在Hadoop基础上Hive的安装">https://wnma3mz.github.io/2017/05/07/在Hadoop基础上Hive的安装/</a>
<a href="https://wnma3mz.github.io/2017/05/07/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E5%9C%A8Hadoop%E5%9F%BA%E7%A1%80%E4%B8%8AHive%E7%9A%84%E5%AE%89%E8%A3%85/" title="在Hadoop基础上Hive的安装">https://wnma3mz.github.io/2017/05/07/环境安装/在Hadoop基础上Hive的安装/</a>
</li>
<li class="post-copyright-license">
<strong>版权声明: </strong>本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-Hans" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处!
Expand All @@ -379,11 +379,11 @@ <h3 id="转换类型">转换类型</h3>

<div class="post-nav">
<div class="post-nav-item">
<a href="/hexo_blog/2017/04/09/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/" rel="prev" title="Hadoop伪分布式安装(Centos7)">
<a href="/hexo_blog/2017/04/09/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Hadoop%E4%BC%AA%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%89%E8%A3%85%EF%BC%88Centos7%EF%BC%89/" rel="prev" title="Hadoop伪分布式安装(Centos7)">
<i class="fa fa-chevron-left"></i> Hadoop伪分布式安装(Centos7)
</a></div>
<div class="post-nav-item">
<a href="/hexo_blog/2017/08/14/%E9%A3%8E%E6%A0%BC%E8%BF%81%E7%A7%BB%E8%BD%AC%E6%8D%A2%E7%9A%84%E4%B8%A4%E7%A7%8D%E5%AE%9E%E7%8E%B0/" rel="next" title="风格迁移转换的两种实现">
<a href="/hexo_blog/2017/08/14/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/%E9%A3%8E%E6%A0%BC%E8%BF%81%E7%A7%BB%E8%BD%AC%E6%8D%A2%E7%9A%84%E4%B8%A4%E7%A7%8D%E5%AE%9E%E7%8E%B0/" rel="next" title="风格迁移转换的两种实现">
风格迁移转换的两种实现 <i class="fa fa-chevron-right"></i>
</a></div>
</div>
Expand Down
Loading

0 comments on commit b7dce6a

Please sign in to comment.